Skip to content

LordOS — a free, fast and secure GNU/Linux distribution based on Debian, with its own desktop environment: display server and Wayland compositor in C, a React UI engine on QuickJS, and private native apps.

Website: mobile hamburger menu with a CSS-only drawer (focus trap, Esc, scrim when JS is on); split home-only styles into home.css

Federico Pereirad68b771026bc
diff --git a/web/build.mjs b/web/build.mjs
index ff7dd37..f8e313b 100644
--- a/web/build.mjs
+++ b/web/build.mjs
@@ -110,6 +110,8 @@ const cssUrl = hashed(Buffer.from(css), 'site', 'css');
const minCss = (c) => c.replace(/\/\*[\s\S]*?\*\//g, '').replace(/\s*([{};,>])\s*/g, '$1').replace(/;}/g, '}').replace(/\n\s*/g, '\n').replace(/\n+/g, '\n');
const docCss = minCss(src('doc.css'));
const docCssUrl = hashed(Buffer.from(docCss), 'doc', 'css');
+const homeCss = minCss(src('home.css').replace('__FONT_MEDIUM__', fontMedium));
+const homeCssUrl = hashed(Buffer.from(homeCss), 'home', 'css');
// [[PLACEHOLDER]] markers left by the content agents: highlighted when --allow-placeholders, else the build fails
const ALLOW_PH = process.argv.includes('--allow-placeholders');
const placeholders = new Map();
@@ -271,7 +273,7 @@ ${alts}
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="preload" href="${fontExtraBold}" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="${fontMedium}" as="font" type="font/woff2" crossorigin>
-<link rel="stylesheet" href="${cssUrl}">${doc ? `\n<link rel="stylesheet" href="${docCssUrl}">` : ''}
+<link rel="stylesheet" href="${cssUrl}">${doc ? `\n<link rel="stylesheet" href="${doc === 'home' ? homeCssUrl : docCssUrl}">` : ''}
<meta property="og:type" content="website">
<meta property="og:site_name" content="LordOS">
<meta property="og:title" content="${esc(title)}">
@@ -291,21 +293,45 @@ ${LANGS.filter((l) => l !== t.lang).map((l) => `<meta property="og:locale:altern
function header(t, page) {
- const home = prefix(t.lang);
+ const l = t.lang;
+ const home = prefix(l);
const h = (frag) => (page === 'home' ? frag : home + frag);
const cur = (p) => (page === p ? ' aria-current="page"' : '');
const links = [
`<a href="${h('#features')}">${esc(t.navFeatures)}</a>`,
- HAS_APPS ? `<a href="${pageUrl(t.lang, 'apps')}"${cur('apps')}>${esc(t.navApps)}</a>` : '',
- `<a href="${pageUrl(t.lang, 'gallery')}"${cur('gallery')}>${esc(t.navGallery)}</a>`,
- HAS_PAPER ? `<a href="${pageUrl(t.lang, 'paper')}"${cur('paper')}>${esc(t.pages.navPaper)}</a>` : '',
- HAS_FAQ ? `<a href="${pageUrl(t.lang, 'faq')}"${cur('faq')}>${esc(t.pages.navFaq)}</a>` : '',
+ HAS_APPS ? `<a href="${pageUrl(l, 'apps')}"${cur('apps')}>${esc(t.navApps)}</a>` : '',
+ `<a href="${pageUrl(l, 'gallery')}"${cur('gallery')}>${esc(t.navGallery)}</a>`,
+ HAS_PAPER ? `<a href="${pageUrl(l, 'paper')}"${cur('paper')}>${esc(t.pages.navPaper)}</a>` : '',
+ HAS_FAQ ? `<a href="${pageUrl(l, 'faq')}"${cur('faq')}>${esc(t.pages.navFaq)}</a>` : '',
`<a href="${h('#download')}">${esc(t.navDownload)}</a>`,
`<a href="${h('#support')}">${esc(t.navSupport)}</a>`,
- `<a href="${pageUrl(t.lang, 'about')}"${cur('about')}>${esc(t.navAbout)}</a>`,
+ `<a href="${pageUrl(l, 'about')}"${cur('about')}>${esc(t.navAbout)}</a>`,
`<a href="${GITHUB}">GitHub</a>`,
].filter(Boolean).join('\n');
- return `<header class="top">
+
+ // mobile drawer: a CSS-only toggle (hidden checkbox + labels) that site.js upgrades to a real dialog
+ const row = (href, label, attrs = '') => `<li><a href="${href}"${attrs}>${esc(label)}</a></li>`;
+ const group = (label, items, open) => `<li><details${open ? ' open' : ''}><summary>${esc(label)}${CHEVRON}</summary><ul>${items.join('')}</ul></details></li>`;
+ const legalLinks = ['security', 'code-signing', 'privacy', 'terms'].map((sl) => legalPages.find((x) => x.slug === sl)).filter(Boolean);
+ const dl = [
+ featureList.length
+ ? group(t.navFeatures, [row(h('#features'), t.pages.allFeatures), ...featureList.map((m) => row(pageUrl(l, 'features/' + m.slug), loc(m.title, l), cur('features/' + m.slug)))], page.startsWith('features/'))
+ : row(h('#features'), t.navFeatures),
+ HAS_APPS ? row(pageUrl(l, 'apps'), t.navApps, cur('apps')) : '',
+ row(pageUrl(l, 'gallery'), t.navGallery, cur('gallery')),
+ HAS_PAPER ? row(pageUrl(l, 'paper'), t.pages.navPaper, cur('paper')) : '',
+ HAS_FAQ ? row(pageUrl(l, 'faq'), t.pages.navFaq, cur('faq')) : '',
+ row(h('#download'), t.navDownload),
+ row(h('#support'), t.navSupport),
+ group(t.navAbout, [row(pageUrl(l, 'about'), t.navAbout, cur('about')), row(team.company.contact.replace('{lang}', l), t.pages.contact, ' rel="noopener"')], page === 'about'),
+ legalPages.length
+ ? group(t.pages.legal.nav, [row(pageUrl(l, 'legal'), t.pages.legal.all, cur('legal')), ...legalLinks.map((x) => row(pageUrl(l, 'legal/' + x.slug), loc(x.title, l), cur('legal/' + x.slug)))], page.startsWith('legal'))
+ : '',
+ row(GITHUB, 'GitHub', ' rel="noopener"'),
+ ].filter(Boolean).join('\n');
+ const X = '<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg>';
+ return `<input type="checkbox" id="nav-cb" class="nav-cb" aria-label="${esc(t.pages.menu)}">
+<header class="top">
<nav class="wrap${page === 'home' ? '' : ' wide'} nav" aria-label="${esc(t.navLabel)}">
<a class="nav-home" href="${home}" aria-label="${esc(t.homeLabel)}"><img class="logo-l" src="${img.logoLight}" alt="LordOS" width="122" height="36"><img class="logo-d" src="${img.logoDark}" alt="LordOS" width="122" height="36"></a>
<div class="nav-links">
@@ -314,9 +340,23 @@ ${links}
<div class="tools">
${themeSwitch(t)}
${langMenu(t, page, false)}
+<label for="nav-cb" class="burger" aria-hidden="true" data-label="${esc(t.pages.menu)}"><span></span><span></span><span></span></label>
</div>
</nav>
-</header>`;
+</header>
+<div class="drawer" id="drawer" aria-label="${esc(t.pages.menu)}">
+<label for="nav-cb" class="scrim" aria-hidden="true"></label>
+<div class="dpanel">
+<div class="dhead"><a href="${home}" aria-label="${esc(t.homeLabel)}"><img src="${img.logoDark}" alt="LordOS" width="115" height="34"></a><label for="nav-cb" class="dclose" aria-hidden="true" data-label="${esc(t.pages.closeMenu)}">${X}</label></div>
+<ul class="dlist">
+${dl}
+</ul>
+<div class="dfoot">
+${langMenu(t, page, true)}
+<a class="btn btn-violet" href="${h('#download')}">${esc(t.ctaDownload)}</a>
+</div>
+</div>
+</div>`;
}
// localized site path for footer.json links: /x/ -> /es/x/; files and absolute URLs unchanged
@@ -449,7 +489,7 @@ ${featureList[i] ? `<a class="more" href="${pageUrl(l, 'features/' + featureList
<div class="show-img">${picture(SHOWCASE_IMG[i], alt, { sizes: '(max-width: 900px) 100vw, 640px' })}</div>
</div>`).join('\n');
write(path.join(pageUrl(l, 'home'), 'index.html'), render(tpl.home, {
- ...common('home'), features, showcase, teaser: teaser(t),
+ ...common('home', null, 'home'), features, showcase, teaser: teaser(t),
heroImg: (() => {
// the desktop inside a laptop drawn in CSS, as a slideshow of real screenshots (site.js runs it;
// without JS only the first slide shows). Slide 1 has light and dark variants that follow the theme.
@@ -565,7 +605,7 @@ ${shot}
${apps.filter((a) => a.category === c).sort((x, y) => appName(x, l).localeCompare(appName(y, l), l)).map(card).join('\n')}
</div>
</section>`).join('\n');
- write(path.join(pageUrl(l, 'apps'), 'index.html'), render(tpl.apps, { ...common('apps'), catButtons, sections }, t));
+ write(path.join(pageUrl(l, 'apps'), 'index.html'), render(tpl.apps, { ...common('apps', null, true), catButtons, sections }, t));
}
// feature pages and paper share these helpers
@@ -738,7 +778,7 @@ ${(c.items || []).map((it) => {
}).join('\n');
const work = A.work.map(([title, text]) => `<article class="feat"><h3>${esc(title)}</h3><p>${esc(text)}</p></article>`).join('\n');
write(path.join(pageUrl(l, 'about'), 'index.html'), render(tpl.about, {
- ...common('about', [A.metaTitle, A.metaDescription]),
+ ...common('about', [A.metaTitle, A.metaDescription], true),
people, work, liIcon: li, lumoWave: img.lumoWave,
siteUrl: esc(team.company.site.replace('{lang}', l)), companyLinkedin: esc(team.company.linkedin),
contactUrl: esc(team.company.contact.replace('{lang}', l)), supportUrl: prefix(l) + '#support',
@@ -810,7 +850,7 @@ for (const f of html) {
const jsSize = Buffer.byteLength(jsSrc) + Buffer.byteLength(themeSrc), cssSize = Buffer.byteLength(css);
if (jsSize > 15 * 1024) throw new Error(`JS is ${jsSize} bytes (limit 15 KB)`);
if (cssSize > 30 * 1024) throw new Error(`site.css is ${cssSize} bytes (limit 30 KB)`);
-if (docCss.length > 30 * 1024) throw new Error(`doc.css is ${docCss.length} bytes (limit 30 KB)`);
+for (const [n, c] of [['doc.css', docCss], ['home.css', homeCss]]) if (c.length > 30 * 1024) throw new Error(`${n} is ${c.length} bytes (limit 30 KB)`);
log(`built ${html.length} pages into web/dist (js ${jsSize} B, css ${cssSize} B, ${shots.length} gallery images, ${apps.length} apps); install.sh byte-identical`);
// ---------- paper PDFs (headless Chromium prints the built page) ----------
diff --git a/web/i18n/pages.json b/web/i18n/pages.json
index e556b7b..61e24df 100644
--- a/web/i18n/pages.json
+++ b/web/i18n/pages.json
@@ -115,7 +115,10 @@
},
"darkMode": "Dark mode",
"copyright": "Copyright © 2026 {co} — All rights reserved.",
- "mitLine": "LordOS is free software under the MIT license"
+ "mitLine": "LordOS is free software under the MIT license",
+ "menu": "Menu",
+ "closeMenu": "Close menu",
+ "contact": "Contact"
},
"es": {
"navPaper": "Paper",
@@ -233,7 +236,10 @@
},
"darkMode": "Modo oscuro",
"copyright": "Copyright © 2026 {co} — Todos los derechos reservados.",
- "mitLine": "LordOS es software libre con licencia MIT"
+ "mitLine": "LordOS es software libre con licencia MIT",
+ "menu": "Menú",
+ "closeMenu": "Cerrar menú",
+ "contact": "Contacto"
},
"pt": {
"navPaper": "Paper",
@@ -351,6 +357,9 @@
},
"darkMode": "Modo escuro",
"copyright": "Copyright © 2026 {co} — Todos os direitos reservados.",
- "mitLine": "LordOS é software livre sob a licença MIT"
+ "mitLine": "LordOS é software livre sob a licença MIT",
+ "menu": "Menu",
+ "closeMenu": "Fechar menu",
+ "contact": "Contato"
}
}
\ No newline at end of file
diff --git a/web/src/doc.css b/web/src/doc.css
index 42dc862..fdb302a 100644
--- a/web/src/doc.css
+++ b/web/src/doc.css
@@ -181,3 +181,45 @@ mark.ph{background:#FFE58A;color:#3A2A00;padding:1px 6px;border-radius:6px;font-
.faq details[open] summary::before{content:"−"}
.faq details .prose{padding:0 20px 8px 54px;font-size:16px}
@media (max-width:640px){.faq details .prose{padding-left:20px}}
+
+/* apps page */
+.apps-sec{margin-top:40px}
+.apps-sec[hidden]{display:none}
+.apps-sec h2{margin:0 0 16px;font-size:clamp(24px,3vw,32px);letter-spacing:-.02em;font-weight:800}
+.apps-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}
+.app{background:var(--surface);border:1px solid var(--line-2);border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:12px;min-width:0}
+.app-head{display:flex;gap:14px;align-items:center}
+.app-head img{width:56px;height:56px;flex:0 0 auto}
+.app-head h3{margin:0;font-size:19px;font-weight:700}
+.app-tag{margin:2px 0 0;font-size:14px;color:var(--muted);line-height:1.45}
+.app ul{margin:0;padding:0 0 0 18px;color:var(--muted);font-size:14.5px;line-height:1.55}
+.app li::marker{color:var(--brand)}
+.iso{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:var(--brand-soft);color:var(--brand-ink);font-size:12.5px;font-weight:700}
+.app .g-card{margin-top:auto}
+.app .g-card img{box-shadow:0 8px 22px var(--shadow-2)}
+
+
+/* about page */
+.ab-hero{padding-top:72px;padding-bottom:24px;text-align:center}
+.ab-hero h1{margin:0 auto;font-size:clamp(40px,6vw,72px);line-height:1.04;letter-spacing:-.03em;font-weight:800}
+.ab-sec{padding-top:56px;padding-bottom:56px}
+.creators{margin-top:32px;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,380px));gap:24px;justify-content:center}
+.creator{background:var(--surface);border:1px solid var(--line-2);border-radius:24px;padding:36px 28px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
+.creator .avatar{width:168px;height:168px;font-size:52px}
+.creator h3{margin:8px 0 0;font-size:24px}
+.creator p{margin:0;color:var(--subtle);font-size:16px}
+.creator .btn{margin-top:8px}
+.ab-work{background:var(--surface-2);border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2)}
+.ab-work .wrap{padding-top:64px;padding-bottom:64px}
+.wk-head{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
+.wk-head .sub{margin:8px 0 0}
+.wk-head img{flex:0 0 auto}
+.ab-work .grid-feat{margin-top:32px}
+.wk-cta{margin:36px 0 0}
+.ab-support{text-align:center}
+
+
+/* avatars (about page) */
+.avatar{width:120px;height:120px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 4px var(--surface),0 0 0 6px var(--ring)}
+.initials{background:linear-gradient(135deg,#B46CFF,#4F46E5);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:38px}
+@media (max-width:640px){.apps-grid{grid-template-columns:1fr}}
diff --git a/web/src/home.css b/web/src/home.css
new file mode 100644
index 0000000..abdea66
--- /dev/null
+++ b/web/src/home.css
@@ -0,0 +1,132 @@
+/* lordos.org home page only: hero laptop and slideshow, apps teaser, download, support, Lumo,
+ language banner. Loaded after site.css on the home pages. */
+/* hero laptop (drawn in CSS) with the slideshow, and the stats row below it */
+.laptop{position:relative;margin:0 auto;max-width:1000px;padding:0 4%}
+.lp-screen{position:relative;background:#0D0D16;border-radius:22px 22px 8px 8px;padding:2.6% 2.6% 3.2%;box-shadow:0 0 0 1px #2B2A40,inset 0 0 0 2px #1C1B2C,0 40px 90px var(--shadow),0 6px 18px var(--shadow-2)}
+.lp-cam{position:absolute;top:1.1%;left:50%;width:7px;height:7px;margin-left:-3.5px;border-radius:50%;background:#2A2940;box-shadow:inset 0 0 0 2px #1A1A28}
+.lp-display{position:relative;overflow:hidden;border-radius:6px;background:var(--shot-bg);aspect-ratio:16/10}
+.lp-display img{display:block;width:100%;height:100%;object-fit:cover}
+.slide{position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;transition:opacity .8s ease-in-out,visibility 0s linear .8s}
+.slide.on{opacity:1;visibility:visible;transition:opacity .8s ease-in-out}
+.hero-ctl{display:none;position:relative;align-items:center;gap:6px;max-width:720px;margin:14px auto 0;padding:6px 14px 6px 6px;border-radius:999px;background:var(--surface);border:1px solid var(--line-2);box-shadow:0 8px 24px var(--shadow-2)}
+.jt .hero-ctl{display:flex}
+.hc-btn{flex:0 0 auto;width:34px;height:34px;border-radius:50%;border:0;background:var(--chip);color:var(--ink-2);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
+.hc-btn:hover{color:var(--brand)}
+.hc-play svg{display:none}
+.hc-play[data-state=playing] .i-pause,.hc-play[data-state=paused] .i-play{display:block}
+.hc-status{margin:0 0 0 6px;min-width:0;flex:1;display:flex;align-items:baseline;gap:10px;font-size:14px;color:var(--ink-2)}
+.hc-count{flex:0 0 auto;font:600 13px/1 var(--mono);color:var(--subtle)}
+.hc-cap{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
+@media (prefers-reduced-motion:reduce){.jt .hero-ctl{display:none}.slide{transition:none}}
+.lp-d{display:none!important}
+@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .lp-l{display:none!important}:root:not([data-theme=light]) .lp-d{display:block!important}}
+:root[data-theme=dark] .lp-l{display:none!important}
+:root[data-theme=dark] .lp-d{display:block!important}
+.lp-base{position:relative;height:16px;margin:0 -7%;border-radius:2px 2px 16px 16px;background:linear-gradient(#D9D7E6,#B7B4C9 55%,#8F8BA6);box-shadow:0 18px 30px -12px var(--shadow)}
+.lp-notch{position:absolute;top:0;left:50%;width:14%;height:6px;transform:translateX(-50%);border-radius:0 0 10px 10px;background:linear-gradient(#9C98B3,#B9B6CB)}
+@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .lp-base{background:linear-gradient(#4A475F,#34324A 55%,#24223A)}:root:not([data-theme=light]) .lp-notch{background:linear-gradient(#1F1D33,#2E2C45)}}
+:root[data-theme=dark] .lp-base{background:linear-gradient(#4A475F,#34324A 55%,#24223A)}
+:root[data-theme=dark] .lp-notch{background:linear-gradient(#1F1D33,#2E2C45)}
+.stats{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 28px}
+.stats li{display:inline-flex;align-items:center;gap:8px;font:600 14px/1.3 var(--mono);color:var(--ink-2)}
+.stats li::before{content:"";flex:0 0 auto;width:8px;height:8px;border-radius:50%;background:#30D158;box-shadow:0 0 0 3px rgba(48,209,88,.22)}
+@media (max-width:640px){
+ .laptop{padding:0}
+ .lp-screen{border-radius:12px 12px 5px 5px}
+ .lp-base{height:9px;margin:0 -3%}
+ .lp-cam{width:4px;height:4px;margin-left:-2px}
+ .hero-ctl{border-radius:18px;flex-wrap:wrap;padding-bottom:10px}
+ .hc-status{flex-basis:100%;margin:6px 4px 2px}
+ .hc-cap{white-space:normal}
+ .stats{flex-direction:column;align-items:center;gap:8px}
+ .stats li{font-size:13px}
+}
+
+/* home: apps teaser */
+.teaser{padding-top:8px;padding-bottom:72px}
+.teaser-box{background:var(--surface);border:1px solid var(--line-2);border-radius:24px;padding:32px;display:flex;flex-wrap:wrap;gap:24px 40px;align-items:center;justify-content:space-between}
+.teaser-txt{flex:1 1 300px;min-width:0}
+.teaser-txt p{margin:10px 0 0;color:var(--muted);font-size:17px;line-height:1.55}
+.teaser-txt .btn{margin-top:18px}
+.teaser-icons{display:flex;flex-wrap:wrap;gap:14px;list-style:none;margin:0;padding:0;flex:1 1 420px;justify-content:center}
+.teaser-icons li{display:flex;flex-direction:column;align-items:center;gap:6px;width:72px;font-size:12px;font-weight:600;color:var(--ink-2);text-align:center}
+.teaser-icons img{width:56px;height:56px}
+
+/* download */
+.dl{background:var(--night);color:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
+.dl .wrap{padding-top:80px;padding-bottom:80px;display:flex;flex-direction:column;gap:36px}
+.dl .sub{color:var(--night-text)}
+.dl-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}
+.dl-card{background:var(--night-card);border:1px solid var(--night-line);border-radius:18px;padding:26px;display:flex;flex-direction:column;gap:12px;min-width:0}
+.dl-card h3{margin:0;font-size:20px}
+.dl-card p{margin:0;color:var(--night-text);font-size:15px;line-height:1.55}
+.dl-card .btn{margin-top:auto}
+.cmd{margin-top:auto;border-radius:12px;background:#0B0B1C;border:1px solid var(--night-line);overflow:hidden}
+.cmd-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:5px 6px 5px 12px;border-bottom:1px solid var(--night-line);background:#121127}
+.cmd-t{display:inline-flex;align-items:center;gap:5px;font:600 12px/1 var(--mono);color:#A9A5CF}
+.cmd-t i{width:8px;height:8px;border-radius:50%;background:#3A3766}
+.cmd-t i:last-of-type{margin-right:6px}
+.cmd pre{margin:0;padding:12px 14px;color:#FFD60A;font:600 14px/1.55 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
+.copy{flex:0 0 auto;min-height:32px;padding:0 12px;border-radius:8px;border:1px solid var(--night-line);background:var(--night-card);color:#fff;font:700 13px/1 var(--ff);cursor:pointer;white-space:nowrap}
+.copy:hover{background:#2a2850}
+pre,.code,.table{scrollbar-width:thin;scrollbar-color:#4A4775 transparent}
+pre::-webkit-scrollbar,.table::-webkit-scrollbar{height:8px;width:8px}
+pre::-webkit-scrollbar-track,.table::-webkit-scrollbar-track{background:transparent}
+pre::-webkit-scrollbar-thumb,.table::-webkit-scrollbar-thumb{background:#4A4775;border-radius:8px}
+.dl-note{margin:0;text-align:center;color:var(--night-note);font-size:14px}
+.verify{border:1px dashed var(--night-line);border-radius:18px;padding:22px 26px;display:flex;flex-direction:column;gap:10px}
+.verify h3{margin:0;font-size:18px}
+.verify p{margin:0;color:var(--night-text);font-size:15px;line-height:1.55}
+.fpr{font:600 13px/1.6 var(--mono);color:#FFD60A!important;word-break:break-all;background:#0B0B1C;border:1px solid var(--night-line);border-radius:10px;padding:10px 12px}
+.verify a{color:var(--night-link);font-weight:700}.verify a:hover{color:#fff}
+
+/* support */
+.sup{padding-top:80px;padding-bottom:80px}
+.sup-card{display:flex;flex-wrap:wrap;gap:40px;align-items:center;background:linear-gradient(135deg,var(--sup-a),var(--sup-b));border:1px solid var(--line);border-radius:28px;padding:40px}
+.sup-card>img{width:220px;height:220px;flex:0 0 auto;margin:0 auto}
+.sup-body{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:16px}
+.sup-body p{margin:0}
+.sup-lead{font-size:17px;line-height:1.6;color:var(--muted)}
+.amounts{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px;align-items:center;min-width:0}
+.chip{position:relative;display:inline-flex}
+.chip input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
+.chip span{display:inline-flex;align-items:center;min-height:48px;min-width:72px;justify-content:center;padding:0 16px;border-radius:12px;font-weight:700;font-size:17px;background:var(--surface);color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--chip-line)}
+.chip input:checked+span{background:var(--accent);color:#fff;box-shadow:none}
+.chip input:focus-visible+span{outline:3px solid var(--focus);outline-offset:2px}
+.custom{display:flex;align-items:center;gap:8px;min-height:48px;padding:0 14px;border-radius:12px;background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--chip-line);font-weight:600}
+.custom:focus-within{outline:3px solid var(--focus);outline-offset:2px}
+.custom.on{box-shadow:inset 0 0 0 2px var(--accent)}
+.custom input{width:84px;border:0;outline:0;font:700 17px var(--ff);background:transparent;color:var(--ink)}
+.custom input::placeholder{color:var(--subtle)}
+.pay{display:flex;flex-wrap:wrap;gap:12px}
+.pay-note{font-size:13px;color:var(--subtle)}
+
+/* lumo + about */
+.lumo{padding-top:24px;padding-bottom:80px;display:flex;flex-wrap:wrap;gap:40px;align-items:center}
+.lumo-txt{flex:1 1 380px;min-width:0}
+.lumo-txt p.t{margin:14px 0 0;font-size:17px;line-height:1.6;color:var(--muted)}
+.lumo-imgs{flex:1 1 380px;display:flex;gap:12px;justify-content:center;min-width:0}
+.lumo-imgs img{width:min(46%,240px);height:auto}
+.about{background:var(--surface);border-top:1px solid var(--line-2)}
+.about .wrap{padding-top:80px;padding-bottom:80px;display:flex;flex-direction:column;gap:32px}
+.about .sub{font-size:17px;line-height:1.6}
+.team{display:flex;flex-wrap:wrap;gap:24px;justify-content:center}
+.person{flex:0 1 300px;background:var(--surface-2);border:1px solid var(--line-2);border-radius:20px;padding:28px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
+.avatar{width:120px;height:120px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 4px var(--surface),0 0 0 6px var(--ring)}
+.initials{background:linear-gradient(135deg,#B46CFF,#4F46E5);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:38px}
+.person h3{margin:4px 0 0;font-size:20px}
+.person p{margin:0;color:var(--subtle);font-size:15px}
+.gh{text-align:center;margin:0}
+
+/* language banner (shown by site.js only) */
+.lbar{position:fixed;left:16px;right:16px;bottom:16px;z-index:30;margin:0 auto;max-width:560px;display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:12px 12px 12px 18px;border-radius:16px;background:#12122A;color:#fff;box-shadow:0 20px 50px rgba(0,0,0,.35);font-weight:600;border:1px solid #2F2C55}
+.lbar[hidden]{display:none}
+.lbar p{margin:0;flex:1 1 200px}
+.lbar a{color:#fff;background:var(--cta-dark);padding:10px 14px;border-radius:10px;text-decoration:none;font-weight:700;min-height:44px;display:inline-flex;align-items:center}
+.lbar button{min-height:44px;min-width:44px;border-radius:10px;border:1px solid #3a3960;background:transparent;color:#fff;font:700 14px var(--ff);cursor:pointer;padding:0 12px}
+
+@media (max-width:640px){
+ .sup-card{padding:24px}
+ .sup-card>img{width:160px;height:160px}
+ .teaser-box{padding:22px}
+}
diff --git a/web/src/site.css b/web/src/site.css
index 04192ec..84ccf92 100644
--- a/web/src/site.css
+++ b/web/src/site.css
@@ -100,6 +100,41 @@ h1,h2,h3{text-wrap:balance}
.nav-links [aria-current]{color:var(--ink);box-shadow:inset 0 -2px 0 var(--accent)}
.tools{display:flex;gap:6px;align-items:center}
+/* mobile menu: hamburger + drawer (CSS-only toggle; site.js adds dialog behaviour) */
+.nav-cb{position:absolute!important;width:1px;height:1px;opacity:0;pointer-events:none}
+.burger{display:none;flex:0 0 auto;width:44px;height:44px;border-radius:12px;border:1.5px solid var(--chip-line);color:var(--ink);flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer}
+.burger span{display:block;width:20px;height:2px;border-radius:2px;background:currentColor}
+.burger:hover{color:var(--brand)}
+.nav-cb:focus-visible~.top .burger{outline:3px solid var(--focus);outline-offset:2px}
+.drawer{position:fixed;inset:0;z-index:60;visibility:hidden;pointer-events:none;transition:visibility 0s linear .25s}
+.scrim{position:absolute;inset:0;background:rgba(8,7,20,.55);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:0;transition:opacity .25s}
+.dpanel{position:absolute;top:0;left:0;bottom:0;width:300px;max-width:85vw;display:flex;flex-direction:column;overflow-y:auto;background:#12122A;color:#fff;box-shadow:20px 0 60px rgba(0,0,0,.4);transform:translateX(-100%);transition:transform .25s ease}
+.nav-cb:checked~.drawer{visibility:visible;pointer-events:auto;transition:none}
+.nav-cb:checked~.drawer .scrim{opacity:1}
+.nav-cb:checked~.drawer .dpanel{transform:none}
+body:has(.nav-cb:checked){overflow:hidden}
+.dhead{display:flex;align-items:center;justify-content:space-between;padding:12px 10px 8px 18px}
+.dhead img{display:block}
+.dclose{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#C9C6E6;cursor:pointer}
+.dclose:hover{color:#fff;background:#1D1C3A}
+.dlist{list-style:none;margin:0;padding:6px 10px;flex:1 0 auto}
+.dlist ul{list-style:none;margin:0 0 6px;padding:0 0 0 12px}
+.dlist a,.dlist summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:0 12px;border-radius:12px;color:#fff;text-decoration:none;font-weight:600;font-size:16px;cursor:pointer;list-style:none}
+.dlist summary::-webkit-details-marker{display:none}
+.dlist a:hover,.dlist summary:hover{background:#1D1C3A;color:#fff}
+.dlist a[aria-current]{color:#B9A8FF;box-shadow:inset 3px 0 0 #6E4BFF}
+.dlist ul a{min-height:44px;font-weight:500;font-size:15px;color:#C9C6E6}
+.dlist details[open]>summary .chev{transform:rotate(180deg)}
+.dlist :focus-visible,.dhead :focus-visible,.dfoot :focus-visible{outline-color:#FFB800}
+.dfoot{display:flex;flex-direction:column;gap:12px;padding:14px 18px 22px;border-top:1px solid #2F2C55}
+.dfoot .lang-dd summary{width:100%;justify-content:center;border-color:#2F2C55;color:#C9C6E6}
+.dfoot .lang-dd ul{left:0;right:0;background:#1D1C3A;border-color:#2F2C55}
+.dfoot .lang-dd a{color:#E3E0FF}.dfoot .lang-dd a:hover{background:#2a2850;color:#fff}
+@media (max-width:1180px){.nav{gap:8px 16px}.nav-links{gap:4px 14px;font-size:14.5px}}
+@media (max-width:900px){.nav-links,.top .tools>.lang-dd{display:none}.burger{display:inline-flex}.nav-home{flex:1 1 auto}}
+@media (min-width:901px){.drawer,.nav-cb{display:none}}
+@media (prefers-reduced-motion:reduce){.dpanel,.scrim,.drawer{transition:none}}
+
/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:12px;font:700 16px/1.2 var(--ff);text-decoration:none;border:0;cursor:pointer;text-align:center}
.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover{background:var(--accent-hover);color:#fff}
@@ -135,124 +170,6 @@ h1,h2,h3{text-wrap:balance}
.show-txt p.t{margin:14px 0 0;font-size:17px;line-height:1.6;color:var(--muted)}
.show-img{flex:1.4 1 420px;min-width:0}
-/* hero laptop (drawn in CSS) with the slideshow, and the stats row below it */
-.laptop{position:relative;margin:0 auto;max-width:1000px;padding:0 4%}
-.lp-screen{position:relative;background:#0D0D16;border-radius:22px 22px 8px 8px;padding:2.6% 2.6% 3.2%;box-shadow:0 0 0 1px #2B2A40,inset 0 0 0 2px #1C1B2C,0 40px 90px var(--shadow),0 6px 18px var(--shadow-2)}
-.lp-cam{position:absolute;top:1.1%;left:50%;width:7px;height:7px;margin-left:-3.5px;border-radius:50%;background:#2A2940;box-shadow:inset 0 0 0 2px #1A1A28}
-.lp-display{position:relative;overflow:hidden;border-radius:6px;background:var(--shot-bg);aspect-ratio:16/10}
-.lp-display img{display:block;width:100%;height:100%;object-fit:cover}
-.slide{position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;transition:opacity .8s ease-in-out,visibility 0s linear .8s}
-.slide.on{opacity:1;visibility:visible;transition:opacity .8s ease-in-out}
-.hero-ctl{display:none;position:relative;align-items:center;gap:6px;max-width:720px;margin:14px auto 0;padding:6px 14px 6px 6px;border-radius:999px;background:var(--surface);border:1px solid var(--line-2);box-shadow:0 8px 24px var(--shadow-2)}
-.jt .hero-ctl{display:flex}
-.hc-btn{flex:0 0 auto;width:34px;height:34px;border-radius:50%;border:0;background:var(--chip);color:var(--ink-2);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
-.hc-btn:hover{color:var(--brand)}
-.hc-play svg{display:none}
-.hc-play[data-state=playing] .i-pause,.hc-play[data-state=paused] .i-play{display:block}
-.hc-status{margin:0 0 0 6px;min-width:0;flex:1;display:flex;align-items:baseline;gap:10px;font-size:14px;color:var(--ink-2)}
-.hc-count{flex:0 0 auto;font:600 13px/1 var(--mono);color:var(--subtle)}
-.hc-cap{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
-@media (prefers-reduced-motion:reduce){.jt .hero-ctl{display:none}.slide{transition:none}}
-.lp-d{display:none!important}
-@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .lp-l{display:none!important}:root:not([data-theme=light]) .lp-d{display:block!important}}
-:root[data-theme=dark] .lp-l{display:none!important}
-:root[data-theme=dark] .lp-d{display:block!important}
-.lp-base{position:relative;height:16px;margin:0 -7%;border-radius:2px 2px 16px 16px;background:linear-gradient(#D9D7E6,#B7B4C9 55%,#8F8BA6);box-shadow:0 18px 30px -12px var(--shadow)}
-.lp-notch{position:absolute;top:0;left:50%;width:14%;height:6px;transform:translateX(-50%);border-radius:0 0 10px 10px;background:linear-gradient(#9C98B3,#B9B6CB)}
-@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .lp-base{background:linear-gradient(#4A475F,#34324A 55%,#24223A)}:root:not([data-theme=light]) .lp-notch{background:linear-gradient(#1F1D33,#2E2C45)}}
-:root[data-theme=dark] .lp-base{background:linear-gradient(#4A475F,#34324A 55%,#24223A)}
-:root[data-theme=dark] .lp-notch{background:linear-gradient(#1F1D33,#2E2C45)}
-.stats{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 28px}
-.stats li{display:inline-flex;align-items:center;gap:8px;font:600 14px/1.3 var(--mono);color:var(--ink-2)}
-.stats li::before{content:"";flex:0 0 auto;width:8px;height:8px;border-radius:50%;background:#30D158;box-shadow:0 0 0 3px rgba(48,209,88,.22)}
-@media (max-width:640px){
- .laptop{padding:0}
- .lp-screen{border-radius:12px 12px 5px 5px}
- .lp-base{height:9px;margin:0 -3%}
- .lp-cam{width:4px;height:4px;margin-left:-2px}
- .hero-ctl{border-radius:18px;flex-wrap:wrap;padding-bottom:10px}
- .hc-status{flex-basis:100%;margin:6px 4px 2px}
- .hc-cap{white-space:normal}
- .stats{flex-direction:column;align-items:center;gap:8px}
- .stats li{font-size:13px}
-}
-
-/* home: apps teaser */
-.teaser{padding-top:8px;padding-bottom:72px}
-.teaser-box{background:var(--surface);border:1px solid var(--line-2);border-radius:24px;padding:32px;display:flex;flex-wrap:wrap;gap:24px 40px;align-items:center;justify-content:space-between}
-.teaser-txt{flex:1 1 300px;min-width:0}
-.teaser-txt p{margin:10px 0 0;color:var(--muted);font-size:17px;line-height:1.55}
-.teaser-txt .btn{margin-top:18px}
-.teaser-icons{display:flex;flex-wrap:wrap;gap:14px;list-style:none;margin:0;padding:0;flex:1 1 420px;justify-content:center}
-.teaser-icons li{display:flex;flex-direction:column;align-items:center;gap:6px;width:72px;font-size:12px;font-weight:600;color:var(--ink-2);text-align:center}
-.teaser-icons img{width:56px;height:56px}
-
-/* download */
-.dl{background:var(--night);color:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
-.dl .wrap{padding-top:80px;padding-bottom:80px;display:flex;flex-direction:column;gap:36px}
-.dl .sub{color:var(--night-text)}
-.dl-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}
-.dl-card{background:var(--night-card);border:1px solid var(--night-line);border-radius:18px;padding:26px;display:flex;flex-direction:column;gap:12px;min-width:0}
-.dl-card h3{margin:0;font-size:20px}
-.dl-card p{margin:0;color:var(--night-text);font-size:15px;line-height:1.55}
-.dl-card .btn{margin-top:auto}
-.cmd{margin-top:auto;border-radius:12px;background:#0B0B1C;border:1px solid var(--night-line);overflow:hidden}
-.cmd-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:5px 6px 5px 12px;border-bottom:1px solid var(--night-line);background:#121127}
-.cmd-t{display:inline-flex;align-items:center;gap:5px;font:600 12px/1 var(--mono);color:#A9A5CF}
-.cmd-t i{width:8px;height:8px;border-radius:50%;background:#3A3766}
-.cmd-t i:last-of-type{margin-right:6px}
-.cmd pre{margin:0;padding:12px 14px;color:#FFD60A;font:600 14px/1.55 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
-.copy{flex:0 0 auto;min-height:32px;padding:0 12px;border-radius:8px;border:1px solid var(--night-line);background:var(--night-card);color:#fff;font:700 13px/1 var(--ff);cursor:pointer;white-space:nowrap}
-.copy:hover{background:#2a2850}
-pre,.code,.table{scrollbar-width:thin;scrollbar-color:#4A4775 transparent}
-pre::-webkit-scrollbar,.table::-webkit-scrollbar{height:8px;width:8px}
-pre::-webkit-scrollbar-track,.table::-webkit-scrollbar-track{background:transparent}
-pre::-webkit-scrollbar-thumb,.table::-webkit-scrollbar-thumb{background:#4A4775;border-radius:8px}
-.dl-note{margin:0;text-align:center;color:var(--night-note);font-size:14px}
-.verify{border:1px dashed var(--night-line);border-radius:18px;padding:22px 26px;display:flex;flex-direction:column;gap:10px}
-.verify h3{margin:0;font-size:18px}
-.verify p{margin:0;color:var(--night-text);font-size:15px;line-height:1.55}
-.fpr{font:600 13px/1.6 var(--mono);color:#FFD60A!important;word-break:break-all;background:#0B0B1C;border:1px solid var(--night-line);border-radius:10px;padding:10px 12px}
-.verify a{color:var(--night-link);font-weight:700}.verify a:hover{color:#fff}
-
-/* support */
-.sup{padding-top:80px;padding-bottom:80px}
-.sup-card{display:flex;flex-wrap:wrap;gap:40px;align-items:center;background:linear-gradient(135deg,var(--sup-a),var(--sup-b));border:1px solid var(--line);border-radius:28px;padding:40px}
-.sup-card>img{width:220px;height:220px;flex:0 0 auto;margin:0 auto}
-.sup-body{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:16px}
-.sup-body p{margin:0}
-.sup-lead{font-size:17px;line-height:1.6;color:var(--muted)}
-.amounts{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px;align-items:center;min-width:0}
-.chip{position:relative;display:inline-flex}
-.chip input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
-.chip span{display:inline-flex;align-items:center;min-height:48px;min-width:72px;justify-content:center;padding:0 16px;border-radius:12px;font-weight:700;font-size:17px;background:var(--surface);color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--chip-line)}
-.chip input:checked+span{background:var(--accent);color:#fff;box-shadow:none}
-.chip input:focus-visible+span{outline:3px solid var(--focus);outline-offset:2px}
-.custom{display:flex;align-items:center;gap:8px;min-height:48px;padding:0 14px;border-radius:12px;background:var(--surface);box-shadow:inset 0 0 0 1.5px var(--chip-line);font-weight:600}
-.custom:focus-within{outline:3px solid var(--focus);outline-offset:2px}
-.custom.on{box-shadow:inset 0 0 0 2px var(--accent)}
-.custom input{width:84px;border:0;outline:0;font:700 17px var(--ff);background:transparent;color:var(--ink)}
-.custom input::placeholder{color:var(--subtle)}
-.pay{display:flex;flex-wrap:wrap;gap:12px}
-.pay-note{font-size:13px;color:var(--subtle)}
-
-/* lumo + about */
-.lumo{padding-top:24px;padding-bottom:80px;display:flex;flex-wrap:wrap;gap:40px;align-items:center}
-.lumo-txt{flex:1 1 380px;min-width:0}
-.lumo-txt p.t{margin:14px 0 0;font-size:17px;line-height:1.6;color:var(--muted)}
-.lumo-imgs{flex:1 1 380px;display:flex;gap:12px;justify-content:center;min-width:0}
-.lumo-imgs img{width:min(46%,240px);height:auto}
-.about{background:var(--surface);border-top:1px solid var(--line-2)}
-.about .wrap{padding-top:80px;padding-bottom:80px;display:flex;flex-direction:column;gap:32px}
-.about .sub{font-size:17px;line-height:1.6}
-.team{display:flex;flex-wrap:wrap;gap:24px;justify-content:center}
-.person{flex:0 1 300px;background:var(--surface-2);border:1px solid var(--line-2);border-radius:20px;padding:28px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
-.avatar{width:120px;height:120px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 4px var(--surface),0 0 0 6px var(--ring)}
-.initials{background:linear-gradient(135deg,#B46CFF,#4F46E5);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:38px}
-.person h3{margin:4px 0 0;font-size:20px}
-.person p{margin:0;color:var(--subtle);font-size:15px}
-.gh{text-align:center;margin:0}
-
/* footer (always dark) */
.foot{background:var(--night);color:var(--night-text)}
.foot .wrap{padding-top:40px;padding-bottom:40px;display:flex;flex-wrap:wrap;gap:20px 40px;align-items:center;justify-content:space-between}
@@ -308,13 +225,6 @@ pre::-webkit-scrollbar-thumb,.table::-webkit-scrollbar-thumb{background:#4A4775;
.fcopy .fmit a{color:var(--night-note)}
.fcopy .fmit a:hover{color:#fff}
-/* language banner (shown by site.js only) */
-.lbar{position:fixed;left:16px;right:16px;bottom:16px;z-index:30;margin:0 auto;max-width:560px;display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:12px 12px 12px 18px;border-radius:16px;background:#12122A;color:#fff;box-shadow:0 20px 50px rgba(0,0,0,.35);font-weight:600;border:1px solid #2F2C55}
-.lbar[hidden]{display:none}
-.lbar p{margin:0;flex:1 1 200px}
-.lbar a{color:#fff;background:var(--cta-dark);padding:10px 14px;border-radius:10px;text-decoration:none;font-weight:700;min-height:44px;display:inline-flex;align-items:center}
-.lbar button{min-height:44px;min-width:44px;border-radius:10px;border:1px solid #3a3960;background:transparent;color:#fff;font:700 14px var(--ff);cursor:pointer;padding:0 12px}
-
/* page heads and filter chips (gallery and apps) */
.g-main{padding-top:56px;padding-bottom:80px}
.g-main h1{margin:0;font-size:clamp(36px,5vw,64px);line-height:1.05;letter-spacing:-.03em;font-weight:800}
@@ -356,45 +266,10 @@ pre::-webkit-scrollbar-thumb,.table::-webkit-scrollbar-thumb{background:#4A4775;
.ico:hover{background:rgba(255,255,255,.22)}
.lb-close{position:absolute;top:16px;right:16px}
-/* apps page */
-.apps-sec{margin-top:40px}
-.apps-sec[hidden]{display:none}
-.apps-sec h2{margin:0 0 16px;font-size:clamp(24px,3vw,32px);letter-spacing:-.02em;font-weight:800}
-.apps-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}
-.app{background:var(--surface);border:1px solid var(--line-2);border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:12px;min-width:0}
-.app-head{display:flex;gap:14px;align-items:center}
-.app-head img{width:56px;height:56px;flex:0 0 auto}
-.app-head h3{margin:0;font-size:19px;font-weight:700}
-.app-tag{margin:2px 0 0;font-size:14px;color:var(--muted);line-height:1.45}
-.app ul{margin:0;padding:0 0 0 18px;color:var(--muted);font-size:14.5px;line-height:1.55}
-.app li::marker{color:var(--brand)}
-.iso{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:var(--brand-soft);color:var(--brand-ink);font-size:12.5px;font-weight:700}
-.app .g-card{margin-top:auto}
-.app .g-card img{box-shadow:0 8px 22px var(--shadow-2)}
-
/* feature cards link */
.feat .more{margin-top:auto;padding-top:6px;font-weight:700;font-size:15px;text-decoration:none}
.feat .more:hover{text-decoration:underline}
-/* about page */
-.ab-hero{padding-top:72px;padding-bottom:24px;text-align:center}
-.ab-hero h1{margin:0 auto;font-size:clamp(40px,6vw,72px);line-height:1.04;letter-spacing:-.03em;font-weight:800}
-.ab-sec{padding-top:56px;padding-bottom:56px}
-.creators{margin-top:32px;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,380px));gap:24px;justify-content:center}
-.creator{background:var(--surface);border:1px solid var(--line-2);border-radius:24px;padding:36px 28px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
-.creator .avatar{width:168px;height:168px;font-size:52px}
-.creator h3{margin:8px 0 0;font-size:24px}
-.creator p{margin:0;color:var(--subtle);font-size:16px}
-.creator .btn{margin-top:8px}
-.ab-work{background:var(--surface-2);border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2)}
-.ab-work .wrap{padding-top:64px;padding-bottom:64px}
-.wk-head{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
-.wk-head .sub{margin:8px 0 0}
-.wk-head img{flex:0 0 auto}
-.ab-work .grid-feat{margin-top:32px}
-.wk-cta{margin:36px 0 0}
-.ab-support{text-align:center}
-
/* 404 */
.nf{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;text-align:center;padding:40px 16px}
.nf img.lumo404{width:220px;height:220px}
@@ -405,15 +280,8 @@ pre::-webkit-scrollbar-thumb,.table::-webkit-scrollbar-thumb{background:#4A4775;
html{scroll-padding-top:0}
.top{position:static}
.nav-home{flex:1 1 auto}
- .tools{order:2}
- .nav-links{order:3;flex-basis:100%;gap:0 16px}
- .nav-links a{padding:8px 0}
.hero{padding-top:48px}
.lead{font-size:18px}
- .sup-card{padding:24px}
- .sup-card>img{width:160px;height:160px}
- .teaser-box{padding:22px}
- .apps-grid{grid-template-columns:1fr}
.lb{padding:12px}
.lb-row{gap:8px}
.lb-img{max-width:calc(100vw - 24px)}
diff --git a/web/src/site.js b/web/src/site.js
index 5dbbdb1..5ac9d6f 100644
--- a/web/src/site.js
+++ b/web/src/site.js
@@ -91,6 +91,47 @@
paint();
}
+ // mobile menu: upgrade the CSS-only toggle (checkbox + labels) to a modal dialog
+ var cb = $('#nav-cb'), drawer = $('#drawer');
+ if (cb && drawer) {
+ var burger = $('.burger'), xbtn = $('.dclose', drawer), panel = $('.dpanel', drawer);
+ cb.tabIndex = -1; cb.setAttribute('aria-hidden', 'true');
+ [burger, xbtn].forEach(function (b) {
+ b.setAttribute('role', 'button'); b.tabIndex = 0; b.removeAttribute('aria-hidden');
+ b.setAttribute('aria-label', b.getAttribute('data-label'));
+ b.addEventListener('keydown', function (e) {
+ if (e.key === 'Enter' || e.key === ' ') { e.preventDefault(); b.click(); }
+ });
+ });
+ burger.setAttribute('aria-controls', 'drawer');
+ var navFocusables = function () {
+ return $$('a[href], summary, [tabindex="0"]', panel).filter(function (x) { return x.offsetParent !== null; });
+ };
+ var navState = function () {
+ var open = cb.checked;
+ burger.setAttribute('aria-expanded', String(open));
+ if (open) { drawer.setAttribute('role', 'dialog'); drawer.setAttribute('aria-modal', 'true'); }
+ else { drawer.removeAttribute('role'); drawer.removeAttribute('aria-modal'); }
+ return open;
+ };
+ cb.addEventListener('change', function () {
+ if (navState()) setTimeout(function () { xbtn.focus(); }, 30);
+ else burger.focus();
+ });
+ var navClose = function () { if (cb.checked) { cb.checked = false; navState(); burger.focus(); } };
+ drawer.addEventListener('keydown', function (e) {
+ if (e.key === 'Escape') { e.preventDefault(); navClose(); return; }
+ if (e.key !== 'Tab') return;
+ var f = navFocusables(); if (!f.length) return;
+ var first = f[0], last = f[f.length - 1];
+ if (e.shiftKey && d.activeElement === first) { last.focus(); e.preventDefault(); }
+ else if (!e.shiftKey && d.activeElement === last) { first.focus(); e.preventDefault(); }
+ });
+ $$('a[href]', panel).forEach(function (a) { a.addEventListener('click', function () { cb.checked = false; navState(); }); });
+ window.addEventListener('resize', function () { if (cb.checked && innerWidth > 900) { cb.checked = false; navState(); } });
+ navState();
+ }
+
// language dropdowns: close on Escape or a click outside
var dds = $$('.lang-dd');
d.addEventListener('click', function (e) { dds.forEach(function (dd) { if (dd.open && !dd.contains(e.target)) dd.open = false; }); });