Skip to content

A lightweight, macOS-style dock for Windows 11, with glass visuals, smooth magnification, and Genie effect.

feat(site): refresh landing page and add installer download

CristianOlivera10fab61715fbb
diff --git a/assets/metadata/android-chrome-192x192.png b/assets/metadata/android-chrome-192x192.png
deleted file mode 100644
index a2c79bc..0000000
Binary files a/assets/metadata/android-chrome-192x192.png and /dev/null differ
diff --git a/assets/metadata/android-chrome-512x512.png b/assets/metadata/android-chrome-512x512.png
deleted file mode 100644
index 1fd42d6..0000000
Binary files a/assets/metadata/android-chrome-512x512.png and /dev/null differ
diff --git a/assets/metadata/apple-touch-icon.png b/assets/metadata/apple-touch-icon.png
deleted file mode 100644
index 1abdc77..0000000
Binary files a/assets/metadata/apple-touch-icon.png and /dev/null differ
diff --git a/assets/metadata/favicon-16x16.png b/assets/metadata/favicon-16x16.png
deleted file mode 100644
index 5ae2403..0000000
Binary files a/assets/metadata/favicon-16x16.png and /dev/null differ
diff --git a/assets/metadata/favicon-32x32.png b/assets/metadata/favicon-32x32.png
deleted file mode 100644
index 044f524..0000000
Binary files a/assets/metadata/favicon-32x32.png and /dev/null differ
diff --git a/assets/metadata/favicon.ico b/assets/metadata/favicon.ico
deleted file mode 100644
index eecac20..0000000
Binary files a/assets/metadata/favicon.ico and /dev/null differ
diff --git a/muelle/public/favicon.webp b/muelle/public/favicon.webp
index e5d57af..01d47ab 100644
Binary files a/muelle/public/favicon.webp and b/muelle/public/favicon.webp differ
diff --git a/muelle/public/robots.txt b/muelle/public/robots.txt
new file mode 100644
index 0000000..dcc1985
--- /dev/null
+++ b/muelle/public/robots.txt
@@ -0,0 +1,4 @@
+User-agent: *
+Allow: /
+
+Sitemap: https://muelle.app/sitemap-index.xml
diff --git a/muelle/src/assets/backgrounds/core-card-background.avif b/muelle/src/assets/backgrounds/core-card-background.avif
new file mode 100644
index 0000000..02fb50b
Binary files /dev/null and b/muelle/src/assets/backgrounds/core-card-background.avif differ
diff --git a/muelle/src/assets/brand/muelle-icon.webp b/muelle/src/assets/brand/muelle-icon.webp
index e5d57af..01d47ab 100644
Binary files a/muelle/src/assets/brand/muelle-icon.webp and b/muelle/src/assets/brand/muelle-icon.webp differ
diff --git a/muelle/src/assets/brand/muelle-logo.webp b/muelle/src/assets/brand/muelle-logo.webp
index 353bcc5..17e268b 100644
Binary files a/muelle/src/assets/brand/muelle-logo.webp and b/muelle/src/assets/brand/muelle-logo.webp differ
diff --git a/muelle/src/assets/decorators/k-decor.webp b/muelle/src/assets/decorators/k-decor.webp
new file mode 100644
index 0000000..4f0725c
Binary files /dev/null and b/muelle/src/assets/decorators/k-decor.webp differ
diff --git a/muelle/src/assets/metadata/android-chrome-192x192.png b/muelle/src/assets/metadata/android-chrome-192x192.png
new file mode 100644
index 0000000..9b5e034
Binary files /dev/null and b/muelle/src/assets/metadata/android-chrome-192x192.png differ
diff --git a/muelle/src/assets/metadata/android-chrome-512x512.png b/muelle/src/assets/metadata/android-chrome-512x512.png
new file mode 100644
index 0000000..a3e1955
Binary files /dev/null and b/muelle/src/assets/metadata/android-chrome-512x512.png differ
diff --git a/muelle/src/assets/metadata/apple-touch-icon.png b/muelle/src/assets/metadata/apple-touch-icon.png
new file mode 100644
index 0000000..39c09d0
Binary files /dev/null and b/muelle/src/assets/metadata/apple-touch-icon.png differ
diff --git a/muelle/src/assets/metadata/favicon-16x16.png b/muelle/src/assets/metadata/favicon-16x16.png
new file mode 100644
index 0000000..225dd22
Binary files /dev/null and b/muelle/src/assets/metadata/favicon-16x16.png differ
diff --git a/muelle/src/assets/metadata/favicon-32x32.png b/muelle/src/assets/metadata/favicon-32x32.png
new file mode 100644
index 0000000..10cd6a2
Binary files /dev/null and b/muelle/src/assets/metadata/favicon-32x32.png differ
diff --git a/assets/metadata/site.webmanifest b/muelle/src/assets/metadata/site.webmanifest
similarity index 100%
rename from assets/metadata/site.webmanifest
rename to muelle/src/assets/metadata/site.webmanifest
diff --git a/muelle/src/components/layout/SiteFooter.astro b/muelle/src/components/layout/SiteFooter.astro
index b6bb970..23c12ef 100644
--- a/muelle/src/components/layout/SiteFooter.astro
+++ b/muelle/src/components/layout/SiteFooter.astro
@@ -7,12 +7,12 @@ import { footerGroups } from "@/data/navigation";
import { site } from "@/data/site";
---
-<footer class="border-t border-line">
+<footer class="mt-[100px] border-t border-line">
<Container class="py-14">
<div class="grid gap-10 md:grid-cols-[1.6fr_1fr_1fr_1fr]">
<div>
<a href="/" aria-label={`${site.name} home`} class="inline-flex items-center">
- <Image src={logo} alt={site.name} height={28} />
+ <Image src={logo} alt={site.name} class="w-54" />
</a>
<p class="mt-4 max-w-xs text-sm text-mute">{site.tagline}</p>
<span class="mt-4 block font-mono text-[11px] tracking-[0.08em] text-mute uppercase">
@@ -30,7 +30,7 @@ import { site } from "@/data/site";
<a
href={link.href}
target={link.external ? "_blank" : undefined}
- rel={link.external ? "noreferrer" : undefined}
+ rel={link.external ? "noopener noreferrer" : undefined}
class="inline-flex items-center gap-1 transition-colors hover:text-signal focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-acid"
>
{link.label}
diff --git a/muelle/src/components/layout/SiteHeader.astro b/muelle/src/components/layout/SiteHeader.astro
index 5c9b3b9..a35fdd4 100644
--- a/muelle/src/components/layout/SiteHeader.astro
+++ b/muelle/src/components/layout/SiteHeader.astro
@@ -33,12 +33,14 @@ import { site } from "@/data/site";
<div class="flex items-center gap-1">
<a
href={site.repository}
+ target="_blank"
+ rel="noopener noreferrer"
aria-label={`${site.name} on GitHub`}
class="rounded-full p-2 text-fg/80 transition-colors hover:bg-card hover:text-fg focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-acid"
>
<Icon name="github" size={20} />
</a>
- <Button href={site.releases} size="sm" class="ml-1 max-sm:hidden">
+ <Button href={site.download} size="sm" class="ml-1 max-sm:hidden">
Download
<Icon name="arrow-right" size={16} />
</Button>
@@ -68,7 +70,7 @@ import { site } from "@/data/site";
</a>
))
}
- <Button href={site.releases} class="mt-3">
+ <Button href={site.download} class="mt-3">
Download for Windows
<Icon name="arrow-right" size={18} />
</Button>
@@ -94,7 +96,8 @@ import { site } from "@/data/site";
button.addEventListener("click", () => setOpen(button.getAttribute("aria-expanded") !== "true"));
// Anchors navigate away from the panel, so it must not stay open behind them.
panel.addEventListener("click", (event) => {
- if (event.target instanceof HTMLAnchorElement) setOpen(false);
+ // The click can land on an icon inside the link, so look for the closest anchor.
+ if (event.target instanceof Element && event.target.closest("a")) setOpen(false);
});
document.addEventListener("keydown", (event) => {
if (event.key === "Escape") setOpen(false);
diff --git a/muelle/src/components/sections/ClosingCta.astro b/muelle/src/components/sections/ClosingCta.astro
new file mode 100644
index 0000000..a69de26
--- /dev/null
+++ b/muelle/src/components/sections/ClosingCta.astro
@@ -0,0 +1,27 @@
+---
+import Section from "@/components/layout/Section.astro";
+import Button from "@/components/ui/Button.astro";
+import Icon from "@/components/ui/Icon.astro";
+import { closing } from "@/data/install";
+import { site } from "@/data/site";
+import "@/styles/install.css";
+---
+
+<Section id="download" spacing={false}>
+ <div class="end" data-r>
+ <h2>{closing.heading}</h2>
+ <p class="text-lg">{closing.body}</p>
+ <Button href={site.download} variant="inverse">
+ {closing.cta}
+ <Icon name="arrow-right" size={18} />
+ </Button>
+ <Icon name="anchor" size={320} class="cta-icon" />
+ </div>
+</Section>
+
+<script>
+ import { initReveal } from "@/scripts/reveal";
+
+ const section = document.querySelector<HTMLElement>("#download");
+ if (section) initReveal(section);
+</script>
diff --git a/muelle/src/components/sections/Hero.astro b/muelle/src/components/sections/Hero.astro
index a95a2b3..14f8c01 100644
--- a/muelle/src/components/sections/Hero.astro
+++ b/muelle/src/components/sections/Hero.astro
@@ -1,44 +1,49 @@
---
+import { Image } from "astro:assets";
+import kDecor from "@/assets/decorators/k-decor.webp";
import WindowMock from "@/components/dock/WindowMock.astro";
import Section from "@/components/layout/Section.astro";
-import Badge from "@/components/ui/Badge.astro";
import Button from "@/components/ui/Button.astro";
import Icon from "@/components/ui/Icon.astro";
import StatStrip from "@/components/ui/StatStrip.astro";
import { site } from "@/data/site";
---
-<Section id="top" spacing={false} class="pt-32 text-center">
- <span class="font-mono text-[11px] tracking-[0.08em] text-mute uppercase">
- Open source · MIT · Rust
- </span>
+<Section id="top" spacing={false} class="pt-20 text-center">
- <h1 class="mt-[18px] text-[clamp(2.75rem,7.4vw,6rem)]">
+ <h1 data-h class="mt-[18px] text-[clamp(2.75rem,7.4vw,6rem)]">
<span class="inline-flex items-center gap-[0.14em]">
- Your Dock
- <Badge class="size-[1.05em] rotate-[-8deg] text-[0.9em]">
- <Icon name="anchor" size={20} class="size-[0.72em]" />
- </Badge>
+ Your Dock<Image
+ src={kDecor}
+ alt=""
+ class="pointer-events-none absolute top-[0.6em] right-[3.15em] w-[0.82em] select-none -mask-linear-50 mask-linear-from-60% mask-linear-to-80%"
+ />
</span>
- <span class="block text-dim">now on Windows.</span>
+ <span class="block bg-gradient-to-r from-neutral-600 via-neutral-400 to-white bg-clip-text text-transparent">now on Windows.</span>
</h1>
- <p class="mx-auto mt-[22px] mb-[30px] max-w-[560px] text-lg text-mute">
- Muelle swaps the taskbar for a glass dock that magnifies, bounces and genies. Crash it, and
- Windows gets its taskbar back in under two seconds.
+ <p data-h class="mx-auto mt-[22px] mb-[30px] max-w-[560px] text-lg text-mute">
+ Muelle replaces the Windows 11 taskbar with a glass dock: icons grow under your cursor and
+ minimized windows wait as live thumbnails. Free, open source and light.
</p>
- <div class="flex flex-wrap justify-center gap-3">
- <Button href={site.releases}>
+ <div data-h class="flex flex-wrap justify-center gap-3">
+ <Button href={site.download}>
Download for Windows
<Icon name="arrow-right" size={18} />
</Button>
<Button href="#how" variant="secondary">See how it works</Button>
</div>
- <div class="mt-14">
+ <div data-hero-mock>
<WindowMock />
</div>
<StatStrip class="mt-12" />
</Section>
+
+<script>
+ import { initHeroMotion } from "@/scripts/hero";
+
+ initHeroMotion();
+</script>
diff --git a/muelle/src/components/sections/HowItWorks.astro b/muelle/src/components/sections/HowItWorks.astro
index 37f827e..3cedd9d 100644
--- a/muelle/src/components/sections/HowItWorks.astro
+++ b/muelle/src/components/sections/HowItWorks.astro
@@ -7,6 +7,7 @@ import { core, howItWorks, inputs, outputs } from "@/data/pipeline";
<Section id="how">
<header
class="flex flex-col items-start gap-6 border-t border-line pt-3.5 pb-10 min-[900px]:flex-row min-[900px]:items-end min-[900px]:justify-between"
+ data-r
>
<h2 class="text-[clamp(2.125rem,4.6vw,3.75rem)]">
{howItWorks.heading}
diff --git a/muelle/src/components/sections/Install.astro b/muelle/src/components/sections/Install.astro
new file mode 100644
index 0000000..8755993
--- /dev/null
+++ b/muelle/src/components/sections/Install.astro
@@ -0,0 +1,38 @@
+---
+import Section from "@/components/layout/Section.astro";
+import Tabs from "@/components/ui/Tabs.astro";
+import { install, installTabs } from "@/data/install";
+import "@/styles/install.css";
+---
+
+<Section id="install">
+ <header
+ class="flex flex-col items-start gap-6 border-t border-line pt-3.5 pb-10 min-[900px]:flex-row min-[900px]:items-end min-[900px]:justify-between"
+ data-r
+ >
+ <h2 class="text-[clamp(2.125rem,4.6vw,3.75rem)]">
+ {install.heading}
+ <span class="block text-dim">{install.headingAccent}</span>
+ </h2>
+ <span class="font-mono text-[11px] leading-[1.4] tracking-[0.08em] text-mute uppercase">
+ {install.eyebrow}
+ </span>
+ </header>
+
+ <div data-r>
+ <Tabs tabs={installTabs} label="Install methods" />
+ </div>
+</Section>
+
+<script>
+ import { initCopy } from "@/scripts/copy";
+ import { initReveal } from "@/scripts/reveal";
+ import { initTabs } from "@/scripts/tabs";
+
+ const section = document.querySelector<HTMLElement>("#install");
+ if (section) {
+ initReveal(section);
+ initTabs(section);
+ initCopy(section);
+ }
+</script>
diff --git a/muelle/src/components/ui/Button.astro b/muelle/src/components/ui/Button.astro
index 447c979..bec6191 100644
--- a/muelle/src/components/ui/Button.astro
+++ b/muelle/src/components/ui/Button.astro
@@ -1,12 +1,14 @@
---
interface Props {
href: string;
- variant?: "primary" | "secondary";
+ variant?: "primary" | "secondary" | "inverse";
size?: "md" | "sm";
+ /** Leaves the landing: opens in a new tab, so the page is not thrown away. */
+ external?: boolean;
class?: string;
}
-const { href, variant = "primary", size = "md", class: className } = Astro.props;
+const { href, variant = "primary", size = "md", external = false, class: className } = Astro.props;
const base = [
"inline-flex items-center gap-2.5 rounded-full border-[1.5px]",
@@ -27,9 +29,20 @@ const variants = {
"active:translate-y-[3px] active:scale-[.98] active:shadow-[0_1px_0_var(--color-ink)]",
],
secondary: ["border-fg text-fg", "active:translate-y-px active:scale-[.98]"],
+ // For the cyan closing block, where the acid-on-ink pair would disappear.
+ inverse: [
+ "border-ink bg-ink text-acid shadow-[0_4px_0_rgb(6_22_28/0.28)]",
+ "hover:shadow-[0_6px_0_rgb(6_22_28/0.28)]",
+ "active:translate-y-[3px] active:scale-[.98] active:shadow-[0_1px_0_rgb(6_22_28/0.28)]",
+ ],
};
---
-<a href={href} class:list={[base, sizes[size], variants[variant], className]}>
+<a
+ href={href}
+ target={external ? "_blank" : undefined}
+ rel={external ? "noopener noreferrer" : undefined}
+ class:list={[base, sizes[size], variants[variant], className]}
+>
<slot />
</a>
diff --git a/muelle/src/components/ui/CopyButton.astro b/muelle/src/components/ui/CopyButton.astro
new file mode 100644
index 0000000..6be3406
--- /dev/null
+++ b/muelle/src/components/ui/CopyButton.astro
@@ -0,0 +1,15 @@
+---
+import Icon from "@/components/ui/Icon.astro";
+
+interface Props {
+ value: string;
+}
+
+const { value } = Astro.props;
+---
+
+<button type="button" class="cp" data-copy={value} aria-label="Copy command">
+ <Icon name="copy" size={14} class="icon-copy" />
+ <Icon name="check" size={14} class="icon-check hidden" />
+ <span class="sr-only" role="status" data-copy-label>Copy command</span>
+</button>
diff --git a/muelle/src/components/ui/CoreCard.astro b/muelle/src/components/ui/CoreCard.astro
index 1c7e638..402354d 100644
--- a/muelle/src/components/ui/CoreCard.astro
+++ b/muelle/src/components/ui/CoreCard.astro
@@ -1,5 +1,6 @@
---
import { Image } from "astro:assets";
+import coreCardBackground from "@/assets/backgrounds/core-card-background.avif";
import type { PipelineCore } from "@/data/pipeline";
interface Props {
@@ -11,22 +12,24 @@ const { core } = Astro.props;
const memory = `${core.memory.value} ${core.memory.unit}`;
---
-<div class="core flex flex-col gap-3 rounded-[18px] p-[18px]" data-r>
+<div
+ class="core flex flex-col gap-3 rounded-[18px] p-[18px]"
+ data-r
+ style={`background-image: linear-gradient(rgb(0 0 0 / 0.35), rgb(0 0 0 / 0.35)), url("${coreCardBackground.src}")`}
+>
<span class="label flex justify-between font-mono text-[11px] leading-[1.4] tracking-[0.08em] uppercase">
<span>{core.name}</span>
<span>{memory}</span>
</span>
- <div class="mini flex justify-center gap-2.5 rounded-xl px-3 py-6">
+ <div class="flex justify-center gap-2.5 rounded-xl px-3 py-6">
{
core.icons.map((icon) => (
<Image
src={icon}
alt=""
- width={46}
- height={46}
aria-hidden="true"
- class="drop-shadow-[0_3px_4px_rgba(0,0,0,0.35)]"
+ class="w-12 drop-shadow-[0_3px_4px_rgba(0,0,0,0.35)]"
/>
))
}
@@ -42,14 +45,15 @@ const memory = `${core.memory.value} ${core.memory.unit}`;
</div>
<style>
- /* The app's own surface: light cream in both themes, as in the product. */
.core {
- background: #efebe2;
- color: #14110f;
+ color: #fff;
+ background-position: center;
+ background-repeat: no-repeat;
+ background-size: cover;
}
.core .label {
- color: #6a6960;
+ color: #fff;
}
.mini {
@@ -57,13 +61,13 @@ const memory = `${core.memory.value} ${core.memory.unit}`;
}
.track {
- background: #d9d5ca;
+ background: rgb(255 255 255 / 0.3);
}
.progress {
display: block;
height: 100%;
- background: #14110f;
+ background: #fff;
animation: fill 3.2s ease-in-out infinite;
}
diff --git a/muelle/src/components/ui/GlassSlab.astro b/muelle/src/components/ui/GlassSlab.astro
index 16ca8dd..b13d00a 100644
--- a/muelle/src/components/ui/GlassSlab.astro
+++ b/muelle/src/components/ui/GlassSlab.astro
@@ -11,6 +11,6 @@ const { icons } = Astro.props;
<div class="stage" aria-hidden="true">
<div class="slab">
- {icons.map((icon) => <Image src={icon} alt="" width={44} height={44} />)}
+ {icons.map((icon) => <Image src={icon} alt="" class="w-44" />)}
</div>
</div>
diff --git a/muelle/src/components/ui/MagnifyDemo.astro b/muelle/src/components/ui/MagnifyDemo.astro
index 06a8116..6ad2830 100644
--- a/muelle/src/components/ui/MagnifyDemo.astro
+++ b/muelle/src/components/ui/MagnifyDemo.astro
@@ -10,8 +10,8 @@ interface Props {
const { icons, range } = Astro.props;
---
-<div class="md" data-magnify-row aria-hidden="true">
- {icons.map((icon) => <Image src={icon} alt="" width={range.value} height={range.value} />)}
+<div class="md" data-magnify-row style={`--s: ${range.value}px`} aria-hidden="true">
+ {icons.map((icon) => <Image src={icon} alt="" class="md-icon" />)}
</div>
<div class="mt-3.5 flex items-baseline justify-between">
diff --git a/muelle/src/components/ui/MenuBarPreview.astro b/muelle/src/components/ui/MenuBarPreview.astro
index f3e2d73..3a11ba7 100644
--- a/muelle/src/components/ui/MenuBarPreview.astro
+++ b/muelle/src/components/ui/MenuBarPreview.astro
@@ -16,6 +16,6 @@ const { app, time } = Astro.props;
</span>
<span class="flex items-center gap-2">
<Icon name="battery" size={18} />
- <span class="tabular-nums">{time}</span>
+ <span class="tabular-nums" data-clock>{time}</span>
</span>
</div>
diff --git a/muelle/src/components/ui/StatStrip.astro b/muelle/src/components/ui/StatStrip.astro
index f6b3046..0e5a79d 100644
--- a/muelle/src/components/ui/StatStrip.astro
+++ b/muelle/src/components/ui/StatStrip.astro
@@ -6,6 +6,9 @@ interface Props {
}
const { class: className } = Astro.props;
+
+/** "0.5" shows one decimal while counting; "16" must not flicker through "16.0". */
+const decimalsOf = (value: string) => (value.split(".")[1] ?? "").length;
---
<div
@@ -17,11 +20,20 @@ const { class: className } = Astro.props;
{
stats.map(({ value, unit, label }) => (
<div class="bg-bg px-5 py-[22px] text-left">
- <b class="block text-4xl font-extrabold tracking-[-0.05em]">
- {value} {unit}
+ <b class="block text-4xl font-extrabold tracking-[-0.05em] tabular-nums">
+ <span data-counter data-to={value} data-decimals={decimalsOf(value)}>
+ {value}
+ </span>{" "}
+ {unit}
</b>
<span class="font-mono text-[10px] tracking-[0.08em] text-mute uppercase">{label}</span>
</div>
))
}
</div>
+
+<script>
+ import { initCounters } from "@/scripts/counters";
+
+ initCounters(document);
+</script>
diff --git a/muelle/src/components/ui/Tabs.astro b/muelle/src/components/ui/Tabs.astro
new file mode 100644
index 0000000..1612407
--- /dev/null
+++ b/muelle/src/components/ui/Tabs.astro
@@ -0,0 +1,46 @@
+---
+import Terminal from "@/components/ui/Terminal.astro";
+import type { InstallTab } from "@/data/install";
+
+interface Props {
+ tabs: InstallTab[];
+ label: string;
+}
+
+const { tabs, label } = Astro.props;
+---
+
+<div class="inst" data-tabs>
+ <div class="tabs" role="tablist" aria-label={label}>
+ {
+ tabs.map((tab, index) => (
+ <button
+ type="button"
+ role="tab"
+ id={`tab-${tab.id}`}
+ aria-selected={index === 0 ? "true" : "false"}
+ aria-controls={`panel-${tab.id}`}
+ tabindex={index === 0 ? 0 : -1}
+ data-tab
+ >
+ {tab.label}
+ </button>
+ ))
+ }
+ </div>
+
+ {
+ tabs.map((tab, index) => (
+ <div
+ role="tabpanel"
+ id={`panel-${tab.id}`}
+ aria-labelledby={`tab-${tab.id}`}
+ class="term"
+ hidden={index !== 0}
+ data-panel
+ >
+ <Terminal rows={tab.rows} />
+ </div>
+ ))
+ }
+</div>
diff --git a/muelle/src/components/ui/Terminal.astro b/muelle/src/components/ui/Terminal.astro
new file mode 100644
index 0000000..5d94739
--- /dev/null
+++ b/muelle/src/components/ui/Terminal.astro
@@ -0,0 +1,30 @@
+---
+import CopyButton from "@/components/ui/CopyButton.astro";
+import type { TerminalRow } from "@/data/install";
+
+interface Props {
+ rows: TerminalRow[];
+}
+
+const { rows } = Astro.props;
+---
+
+<ol class="term-rows">
+ {
+ rows.map((row, index) => (
+ <li>
+ <span class="num" aria-hidden="true">
+ {String(index + 1).padStart(2, "0")}
+ </span>
+ {row.command ? (
+ <>
+ <code>{row.text}</code>
+ <CopyButton value={row.text} />
+ </>
+ ) : (
+ <p>{row.text}</p>
+ )}
+ </li>
+ ))
+ }
+</ol>
diff --git a/muelle/src/data/features.ts b/muelle/src/data/features.ts
index 88c9d5d..6b4aea2 100644
--- a/muelle/src/data/features.ts
+++ b/muelle/src/data/features.ts
@@ -7,7 +7,7 @@ import recycleBin from "@/assets/icons/recycle-bin.webp";
import windowsTerminal from "@/assets/icons/windows-terminal.webp";
import { site } from "@/data/site";
-/** One beat of the crash-and-recover timeline. */
+/** One beat of the "your taskbar always comes back" timeline. */
export interface TimelineStep {
time: string;
title: string;
@@ -24,26 +24,26 @@ export const features = {
export const safety = {
label: "Safety",
title: "Never stranded.",
- body: "A tiny guardian process watches the Dock. If it dies, your Windows taskbar comes back before you notice.",
+ body: "Muelle hides the Windows taskbar, never removes it. Quit, uninstall or even a crash: the taskbar comes back.",
steps: [
- { time: "00:00", title: "Dock crashes", detail: "muelle.exe exits", state: "warn" },
- { time: "00:00.4", title: "Guardian wakes", detail: "--guard sees it" },
- { time: "00:01.8 // live", title: "Taskbar restored", detail: "Windows is whole again", state: "live" },
- { time: "00:03", title: "Dock relaunches", detail: "Autostart brings it back" },
+ { time: "Quit", title: "You quit Muelle", detail: "From the Dock menu" },
+ { time: "Crash", title: "Dock stops", detail: "For any reason", state: "warn" },
+ { time: "At once // live", title: "Taskbar is back", detail: "A tiny guardian sees to it", state: "live" },
+ { time: "Uninstall", title: "Windows as it was", detail: "Nothing left behind" },
] satisfies TimelineStep[],
};
export const material = {
label: "Material",
title: "Liquid glass.",
- body: "Live blur, specular edge, soft shadow. Tilt it with the cursor.",
+ body: "Real system blur behind the glass, a light edge and a soft shadow. Tilt this one with your cursor.",
icons: [fileExplorer, microsoftPhotos, microsoftStore, windowsTerminal] as ImageMetadata[],
};
export const motion = {
label: "Motion",
title: "Follows your cursor.",
- body: "Hover the row. Smooth curve, no steps.",
+ body: "Icons grow under the pointer on a smooth curve. Size and magnification are yours to set.",
icons: [
microsoftStore,
fileExplorer,
@@ -52,13 +52,13 @@ export const motion = {
downloads,
recycleBin,
] as ImageMetadata[],
- range: { min: 28, max: 48, value: 40 },
+ range: { min: 32, max: 48, value: 40 },
};
export const menuBar = {
label: "Menu bar",
title: "Time, battery, control.",
- body: "A slim bar on top. Quick settings are one click away.",
+ body: "Optional slim bar on top: the app in front, battery, Windows quick settings and notifications. It can hide itself too.",
app: "Muelle",
time: "9:41",
};
@@ -66,6 +66,7 @@ export const menuBar = {
export const source = {
label: "Source",
title: "Open, in Rust.",
- body: "MIT licensed. Read it, fork it, ship it.",
- commands: [`git clone ${site.repository.replace(/^https?:\/\//, "")}`, "cargo run -p muelle"],
+ body: "MIT licensed and written in Rust. Read it, build it, improve it.",
+ // A bare `github.com/user/repo` is not a URL git understands, so the full https one is shown.
+ commands: [`git clone ${site.repository}`, "cd Muelle && cargo run -p muelle"],
};
diff --git a/muelle/src/data/install.ts b/muelle/src/data/install.ts
new file mode 100644
index 0000000..5738aa0
--- /dev/null
+++ b/muelle/src/data/install.ts
@@ -0,0 +1,56 @@
+import { site } from "@/data/site";
+
+/** One line of the terminal panel: a step, or a command that can be copied. */
+export interface TerminalRow {
+ text: string;
+ command?: boolean;
+}
+
+export interface InstallTab {
+ id: string;
+ label: string;
+ rows: TerminalRow[];
+}
+
+export const install = {
+ eyebrow: "Install",
+ heading: "One download.",
+ headingAccent: "No wizard.",
+} as const;
+
+export const installTabs: InstallTab[] = [
+ {
+ id: "installer",
+ label: "Installer",
+ rows: [
+ { text: "Download Muelle-Setup.exe (Windows 11, 64-bit)." },
+ { text: "Double-click it. Per user, no admin rights, no wizard." },
+ { text: "Not signed yet: if SmartScreen asks, choose More info → Run anyway." },
+ { text: "The Dock appears, the taskbar tucks away, and Muelle starts with Windows." },
+ ],
+ },
+ {
+ id: "source",
+ label: "From source",
+ rows: [
+ { text: `git clone ${site.repository}`, command: true },
+ { text: "cd Muelle", command: true },
+ { text: "cargo run --release -p muelle", command: true },
+ ],
+ },
+ {
+ id: "restore",
+ label: "Get taskbar back",
+ rows: [
+ { text: "Right-click the Dock and choose Quit Muelle." },
+ { text: "To remove it: Settings → Apps → Installed apps → Muelle → Uninstall." },
+ { text: "Either way, the Windows taskbar comes back." },
+ ],
+ },
+];
+
+export const closing = {
+ heading: "Dock it.",
+ body: "Free and open source. Installs per user without admin rights, and uninstalling gives you your taskbar back.",
+ cta: "Download for Windows",
+} as const;
diff --git a/muelle/src/data/pipeline.ts b/muelle/src/data/pipeline.ts
index aaec360..251d302 100644
--- a/muelle/src/data/pipeline.ts
+++ b/muelle/src/data/pipeline.ts
@@ -27,15 +27,15 @@ export const howItWorks = {
/** What wakes the dock up. */
export const inputs: PipelineStep[] = [
- { label: "WinEvent", title: "Windows open and close", detail: "Events, never polling" },
- { label: "Shell hook", title: "Minimize, flash, fullscreen", detail: "Public APIs only" },
+ { label: "Shell events", title: "Windows open and close", detail: "Notified, never polled" },
+ { label: "Foreground", title: "Minimize, restore, fullscreen", detail: "Public Windows APIs only" },
{ label: "config.json", title: "Settings change", detail: "One message reloads it live" },
];
/** What the dock does in response. */
export const outputs: PipelineStep[] = [
- { label: "Dock", title: "Springs on the compositor", detail: "DWM animates, not the app" },
- { label: "Genie", title: "Rows warped into the Dock", detail: "Live thumbnail left behind" },
+ { label: "Dock", title: "Drawn by Windows composition", detail: "System blur, no GPU load" },
+ { label: "Minimize", title: "Live thumbnail in the Dock", detail: "Optional Genie effect" },
{ label: "Taskbar", title: "Hidden, always restored", detail: "On quit, uninstall or crash" },
];
diff --git a/muelle/src/data/site.ts b/muelle/src/data/site.ts
index eaf13a1..5aabd3b 100644
--- a/muelle/src/data/site.ts
+++ b/muelle/src/data/site.ts
@@ -1,12 +1,14 @@
-/** Repository links are placeholders until the project is published; phase 10 replaces them. */
+/** Links point at the public repository. `download` always serves the newest
+ * published release (the release workflow attaches a stable Muelle-Setup.exe). */
export const site = {
name: "Muelle",
tagline: "The macOS Dock, made for Windows.",
description:
- "Muelle replaces the Windows 11 taskbar with a macOS-style dock: cursor magnification, live window previews and an optional Genie minimize effect.",
- repository: "https://github.com/your-org/muelle",
- releases: "https://github.com/your-org/muelle/releases",
- issues: "https://github.com/your-org/muelle/issues",
+ "Muelle replaces the Windows 11 taskbar with a macOS-style dock: icons that grow under the cursor, minimized windows as live thumbnails, an optional menu bar and Genie effect. Free and open source.",
+ repository: "https://github.com/crafter-station/Muelle",
+ releases: "https://github.com/crafter-station/Muelle/releases",
+ download: "https://github.com/crafter-station/Muelle/releases/latest/download/Muelle-Setup.exe",
+ issues: "https://github.com/crafter-station/Muelle/issues",
version: "0.1",
license: "MIT",
} as const;
diff --git a/muelle/src/data/stats.ts b/muelle/src/data/stats.ts
index 6043b5d..5c1828c 100644
--- a/muelle/src/data/stats.ts
+++ b/muelle/src/data/stats.ts
@@ -2,8 +2,8 @@
export const figures = {
memory: { value: "16", unit: "MB", label: "private memory" },
cpu: { value: "0", unit: "%", label: "cpu when idle" },
- genie: { value: "0.5", unit: "s", label: "genie minimize" },
- restore: { value: "2", unit: "s", label: "taskbar restore" },
+ installer: { value: "2.4", unit: "MB", label: "installer" },
+ admin: { value: "0", unit: "", label: "admin rights needed" },
} as const;
/** The stat strip, in the order the landing shows them. */
diff --git a/muelle/src/layouts/BaseLayout.astro b/muelle/src/layouts/BaseLayout.astro
index 00ab986..e94a439 100644
--- a/muelle/src/layouts/BaseLayout.astro
+++ b/muelle/src/layouts/BaseLayout.astro
@@ -31,6 +31,12 @@ const canonical = new URL(Astro.url.pathname, Astro.site);
<Font cssVariable="--font-jetbrains" />
</head>
<body>
+ <a
+ href="#top"
+ class="sr-only focus:not-sr-only focus:fixed focus:top-3 focus:left-3 focus:z-[60] focus:rounded-full focus:bg-acid focus:px-4 focus:py-2 focus:font-bold focus:text-ink"
+ >
+ Skip to content
+ </a>
<IconSprite />
<slot />
</body>
diff --git a/muelle/src/pages/index.astro b/muelle/src/pages/index.astro
index 4271167..bc36964 100644
--- a/muelle/src/pages/index.astro
+++ b/muelle/src/pages/index.astro
@@ -1,9 +1,11 @@
---
import SiteFooter from "@/components/layout/SiteFooter.astro";
import SiteHeader from "@/components/layout/SiteHeader.astro";
+import ClosingCta from "@/components/sections/ClosingCta.astro";
import Features from "@/components/sections/Features.astro";
import Hero from "@/components/sections/Hero.astro";
import HowItWorks from "@/components/sections/HowItWorks.astro";
+import Install from "@/components/sections/Install.astro";
import { site } from "@/data/site";
import BaseLayout from "@/layouts/BaseLayout.astro";
---
@@ -15,6 +17,8 @@ import BaseLayout from "@/layouts/BaseLayout.astro";
<Hero />
<HowItWorks />
<Features />
+ <Install />
+ <ClosingCta />
</main>
<SiteFooter />
diff --git a/muelle/src/scripts/copy.ts b/muelle/src/scripts/copy.ts
new file mode 100644
index 0000000..42e4bee
--- /dev/null
+++ b/muelle/src/scripts/copy.ts
@@ -0,0 +1,48 @@
+/** How long the button shows its confirmation before going back to normal. */
+const FEEDBACK_MS = 1400;
+
+type CopyState = "idle" | "copied" | "failed";
+
+/**
+ * The Clipboard API only exists in a secure context (https or localhost), so a page
+ * opened over plain http from another machine simply reports that it could not copy.
+ */
+async function writeClipboard(text: string): Promise<boolean> {
+ if (!navigator.clipboard?.writeText) return false;
+
+ try {
+ await navigator.clipboard.writeText(text);
+ return true;
+ } catch {
+ return false;
+ }
+}
+
+/** Copies every `[data-copy]` command and confirms it in place. */
+export function initCopy(root: ParentNode) {
+ root.querySelectorAll<HTMLButtonElement>("[data-copy]").forEach((button) => {
+ const value = button.dataset.copy ?? "";
+ const copyIcon = button.querySelector(".icon-copy");
+ const checkIcon = button.querySelector(".icon-check");
+ const label = button.querySelector<HTMLElement>("[data-copy-label]");
+ let resetTimer = 0;
+
+ const setState = (state: CopyState) => {
+ const message = state === "copied" ? "Copied" : state === "failed" ? "Copy failed" : "Copy command";
+ button.dataset.copied = String(state === "copied");
+ copyIcon?.classList.toggle("hidden", state === "copied");
+ checkIcon?.classList.toggle("hidden", state !== "copied");
+ button.setAttribute("aria-label", message);
+ if (label) label.textContent = message;
+ };
+
+ button.addEventListener("click", async () => {
+ const copied = await writeClipboard(value);
+ setState(copied ? "copied" : "failed");
+
+ // The failure message needs the same reset, or the button stays wrong for good.
+ window.clearTimeout(resetTimer);
+ resetTimer = window.setTimeout(() => setState("idle"), FEEDBACK_MS);
+ });
+ });
+}
diff --git a/muelle/src/scripts/counters.ts b/muelle/src/scripts/counters.ts
new file mode 100644
index 0000000..94680ee
--- /dev/null
+++ b/muelle/src/scripts/counters.ts
@@ -0,0 +1,40 @@
+import { gsap, ScrollTrigger, prefersReducedMotion } from "@/lib/motion";
+
+const DURATION = 1.6;
+
+/**
+ * Counts each figure up once, the first time it scrolls into view. The markup ships the
+ * real number, so a visitor without JavaScript or with reduced motion reads the figure
+ * instead of a zero.
+ */
+export function initCounters(root: ParentNode) {
+ const nodes = [...root.querySelectorAll<HTMLElement>("[data-counter]")];
+ if (!nodes.length || prefersReducedMotion()) return;
+
+ nodes.forEach((node) => {
+ const to = Number(node.dataset.to);
+ const decimals = Number(node.dataset.decimals ?? 0);
+ if (!Number.isFinite(to)) return;
+
+ const counter = { value: 0 };
+
+ ScrollTrigger.create({
+ trigger: node,
+ start: "top 92%",
+ once: true,
+ // Zeroing inside the trigger, not on load: if the trigger never fires the figure
+ // stays correct instead of stuck at zero.
+ onEnter: () => {
+ node.textContent = (0).toFixed(decimals);
+ gsap.to(counter, {
+ value: to,
+ duration: DURATION,
+ ease: "power2.out",
+ onUpdate: () => {
+ node.textContent = counter.value.toFixed(decimals);
+ },
+ });
+ },
+ });
+ });
+}
diff --git a/muelle/src/scripts/hero.ts b/muelle/src/scripts/hero.ts
new file mode 100644
index 0000000..32cb302
--- /dev/null
+++ b/muelle/src/scripts/hero.ts
@@ -0,0 +1,47 @@
+import { gsap, prefersReducedMotion } from "@/lib/motion";
+
+/** How far the hero copy drifts up while the mockup leaves the viewport. */
+const DRIFT = -40;
+const PALE = 0.2;
+
+/**
+ * Hero motion: the copy fades in with the page, then drifts up and pales as the mockup
+ * scrolls away. The mockup itself rises in after the copy, as in the original landing.
+ */
+export function initHeroMotion() {
+ if (prefersReducedMotion()) return;
+
+ const copy = gsap.utils.toArray<HTMLElement>("[data-h]");
+ const mock = document.querySelector<HTMLElement>("[data-hero-mock]");
+ if (!copy.length || !mock) return;
+
+ const intro = gsap.from(copy, { y: 28, opacity: 0, duration: 1, stagger: 0.1, ease: "power3.out" });
+
+ gsap.from(mock, {
+ y: 70,
+ opacity: 0,
+ duration: 1.2,
+ delay: 0.4,
+ ease: "power3.out",
+ // The dock and the genie measured the mockup before this transform existed, so they
+ // rebuild once it lands and the geometry is true again.
+ onComplete: () => window.dispatchEvent(new Event("resize")),
+ });
+
+ // The drift is built only once the intro has written its final values. A scroll tween on
+ // the same properties, created while the copy was still at opacity 0, recorded that zero
+ // as its start and left the hero invisible on the way back up.
+ intro.eventCallback("onComplete", () => {
+ gsap.fromTo(
+ copy,
+ { y: 0, opacity: 1 },
+ {
+ y: DRIFT,
+ opacity: PALE,
+ ease: "none",
+ immediateRender: false,
+ scrollTrigger: { trigger: mock, start: "top 80%", end: "top 20%", scrub: true },
+ },
+ );
+ });
+}
diff --git a/muelle/src/scripts/magnify-demo.ts b/muelle/src/scripts/magnify-demo.ts
index 424e587..083b34d 100644
--- a/muelle/src/scripts/magnify-demo.ts
+++ b/muelle/src/scripts/magnify-demo.ts
@@ -19,11 +19,20 @@ export function initMagnifyDemo(root: ParentNode) {
const max = Number(range.max);
let centers: number[] = [];
+ const measureCenters = () => {
+ centers = icons.map((icon) => {
+ const rect = icon.getBoundingClientRect();
+ return rect.left + rect.width / 2;
+ });
+ };
+
const applySize = () => {
const size = Number(range.value);
row.style.setProperty("--s", `${size}px`);
range.style.setProperty("--p", String((size - min) / (max - min)));
output.textContent = `${size} px`;
+ // Resizing moves every icon, and the pointer may be sitting on the row while it changes.
+ if (centers.length) measureCenters();
};
range.addEventListener("input", applySize);
@@ -32,12 +41,7 @@ export function initMagnifyDemo(root: ParentNode) {
if (prefersReducedMotion()) return;
// The icons move when the slider resizes the row, so measure on every enter.
- row.addEventListener("pointerenter", () => {
- centers = icons.map((icon) => {
- const rect = icon.getBoundingClientRect();
- return rect.left + rect.width / 2;
- });
- });
+ row.addEventListener("pointerenter", measureCenters);
row.addEventListener("pointermove", (event) => {
if (!centers.length) return;
diff --git a/muelle/src/scripts/reveal.ts b/muelle/src/scripts/reveal.ts
index 7779e70..283b5a9 100644
--- a/muelle/src/scripts/reveal.ts
+++ b/muelle/src/scripts/reveal.ts
@@ -43,13 +43,13 @@ export function initReveal(root: HTMLElement) {
trigger: pipe,
start: "top 75%",
once: true,
- onEnter: () => {
- gsap.to(pipe.querySelectorAll(".node"), {
- "--w": 1,
- duration: 0.8,
- stagger: 0.1,
- ease: "power2.out",
- });
- },
+ onEnter: () => {
+ // The connector's CSS default is already 1, so it has to be driven from 0 to grow.
+ gsap.fromTo(
+ pipe.querySelectorAll(".node"),
+ { "--w": 0 },
+ { "--w": 1, duration: 0.8, stagger: 0.1, ease: "power2.out" },
+ );
+ },
});
}
diff --git a/muelle/src/scripts/tabs.ts b/muelle/src/scripts/tabs.ts
new file mode 100644
index 0000000..f778a10
--- /dev/null
+++ b/muelle/src/scripts/tabs.ts
@@ -0,0 +1,38 @@
+/**
+ * Roving-tabindex tabs: one tab stop for the group, arrow keys to move between
+ * tabs, and one panel visible at a time.
+ */
+export function initTabs(root: ParentNode) {
+ root.querySelectorAll<HTMLElement>("[data-tabs]").forEach((group) => {
+ const tabs = [...group.querySelectorAll<HTMLButtonElement>("[data-tab]")];
+ const panels = [...group.querySelectorAll<HTMLElement>("[data-panel]")];
+ if (!tabs.length || tabs.length !== panels.length) return;
+
+ const select = (index: number, focus = false) => {
+ tabs.forEach((tab, position) => {
+ const active = position === index;
+ tab.setAttribute("aria-selected", String(active));
+ tab.tabIndex = active ? 0 : -1;
+ panels[position].hidden = !active;
+ });
+ if (focus) tabs[index].focus();
+ };
+
+ const moves: Record<string, (index: number) => number> = {
+ ArrowRight: (index) => (index + 1) % tabs.length,
+ ArrowLeft: (index) => (index - 1 + tabs.length) % tabs.length,
+ Home: () => 0,
+ End: () => tabs.length - 1,
+ };
+
+ tabs.forEach((tab, index) => {
+ tab.addEventListener("click", () => select(index));
+ tab.addEventListener("keydown", (event) => {
+ const move = moves[event.key];
+ if (!move) return;
+ event.preventDefault();
+ select(move(index), true);
+ });
+ });
+ });
+}
diff --git a/muelle/src/styles/features.css b/muelle/src/styles/features.css
index 2334ae6..7c596e0 100644
--- a/muelle/src/styles/features.css
+++ b/muelle/src/styles/features.css
@@ -88,6 +88,23 @@
.tl .is-live::after {
border-color: var(--color-ink);
background: var(--color-acid);
+ animation: tl-ping 2s ease-out infinite;
+}
+
+@keyframes tl-ping {
+ 0% {
+ box-shadow: 0 0 0 0 rgb(47 216 255 / 0.55);
+ }
+ 80%,
+ 100% {
+ box-shadow: 0 0 0 9px rgb(47 216 255 / 0);
+ }
+}
+
+@media (prefers-reduced-motion: reduce) {
+ .tl .is-live::after {
+ animation: none;
+ }
}
.tl .is-warn::after {
@@ -142,7 +159,7 @@
padding: 0 10px 4px;
}
-.md img {
+.md-icon {
flex: none;
width: var(--s, 40px);
height: var(--s, 40px);
@@ -259,10 +276,6 @@
grid-template-columns: 1fr;
}
- .bento-card {
- min-height: 320px;
- }
-
.bento-card--wide {
grid-column: auto;
}
diff --git a/muelle/src/styles/global.css b/muelle/src/styles/global.css
index 3251b5c..d4a9324 100644
--- a/muelle/src/styles/global.css
+++ b/muelle/src/styles/global.css
@@ -11,10 +11,13 @@
--color-fg: #14110f;
--color-mute: #6b675e;
--color-line: #dcd8cc;
- --color-dim: rgb(20 17 15 / 0.38);
+ /* 0.46 keeps the ghost half of a heading at 3.1:1 on --bg: still clearly secondary,
+ but large text meets the 3:1 floor instead of 2.4:1. */
+ --color-dim: rgb(20 17 15 / 0.46);
--color-acid: #2fd8ff;
--color-ink: #06161c;
- --color-signal: #0a7a99;
+ /* 4.8:1 on --bg; the original #0a7a99 sat at 4.44:1, just under AA for body text. */
+ --color-signal: #0a7490;
--color-amber: #ffb547;
}
@@ -26,7 +29,7 @@
--color-fg: #f2f1ec;
--color-mute: #9a978d;
--color-line: #26292b;
- --color-dim: rgb(242 241 236 / 0.38);
+ --color-dim: rgb(242 241 236 / 0.56);
--color-signal: #5ee1ff;
}
}
diff --git a/muelle/src/styles/install.css b/muelle/src/styles/install.css
new file mode 100644
index 0000000..b668849
--- /dev/null
+++ b/muelle/src/styles/install.css
@@ -0,0 +1,156 @@
+/* Install tabs, the terminal panel and the closing call to action. */
+
+.inst {
+ overflow: hidden;
+ border: 1px solid var(--color-line);
+ border-radius: 20px;
+ background: var(--color-card);
+}
+
+.tabs {
+ display: flex;
+ flex-wrap: wrap;
+ border-bottom: 1px solid var(--color-line);
+}
+
+.tabs button {
+ padding: 14px 18px;
+ border-right: 1px solid var(--color-line);
+ background: transparent;
+ color: var(--color-mute);
+ font: 500 0.6875rem/1 var(--font-mono);
+ letter-spacing: 0.08em;
+ text-transform: uppercase;
+ cursor: pointer;
+ transition:
+ background-color 0.15s,
+ color 0.15s;
+}
+
+.tabs button:hover {
+ color: var(--color-fg);
+}
+
+.tabs button[aria-selected="true"] {
+ background: var(--color-acid);
+ color: var(--color-ink);
+}
+
+.tabs button:focus-visible {
+ outline: 2px solid var(--color-acid);
+ outline-offset: -3px;
+}
+
+.term {
+ padding: 26px;
+}
+
+.term-rows {
+ display: flex;
+ flex-direction: column;
+ gap: 4px;
+ margin: 0;
+ padding: 0;
+ list-style: none;
+ font: 0.875rem/2 var(--font-mono);
+}
+
+.term-rows li {
+ display: flex;
+ align-items: baseline;
+ gap: 14px;
+}
+
+.term-rows .num {
+ color: var(--color-dim);
+}
+
+.term-rows p {
+ margin: 0;
+ flex: 1;
+ color: var(--color-fg);
+}
+
+.term-rows code {
+ flex: 1;
+ overflow-wrap: anywhere;
+ color: var(--color-signal);
+}
+
+.cp {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ padding: 4px 9px;
+ border: 1px solid var(--color-line);
+ border-radius: 99px;
+ color: var(--color-mute);
+ cursor: pointer;
+ transition:
+ border-color 0.15s,
+ color 0.15s;
+}
+
+.cp:hover {
+ color: var(--color-fg);
+}
+
+.cp:focus-visible {
+ outline: 2px solid var(--color-acid);
+ outline-offset: 2px;
+}
+
+.cp[data-copied="true"] {
+ border-color: var(--color-signal);
+ color: var(--color-signal);
+}
+
+.end {
+ position: relative;
+ margin-top: 140px;
+ padding: 100px 24px;
+ overflow: hidden;
+ border-radius: 28px;
+ background: var(--color-acid);
+ color: var(--color-ink);
+ text-align: center;
+}
+
+.end h2 {
+ font-size: clamp(3rem, 10vw, 8.5rem);
+}
+
+.end p {
+ max-width: 460px;
+ margin: 18px auto 30px;
+ color: #124452;
+}
+
+.end .cta-icon {
+ position: absolute;
+ right: -50px;
+ bottom: -90px;
+ opacity: 0.12;
+ rotate: 18deg;
+}
+
+@media (max-width: 640px) {
+ /* Tighter tabs so the three labels stay on one row instead of wrapping. */
+ .tabs button {
+ padding: 12px 14px;
+ font-size: 0.625rem;
+ }
+
+ .term {
+ padding: 18px;
+ }
+
+ .term-rows {
+ font-size: 0.8125rem;
+ }
+
+ .end {
+ margin-top: 100px;
+ padding: 72px 20px;
+ }
+}