/* Mister Download Manager — site styles. No build step; one self-hosted font (Inter).
   The component system follows mausbot.com's (support card, wordmark stage with echoes and
   flyers, line-drawn scenes, cards with small windows inside, chips, marquees, the community
   card, the hello stage, plan cards, hairline FAQ, closing art, giant footer wordmark), with
   MDM's own colours: the logo's green and blue, IDM-style green for "download". */

@font-face {
  font-family: "Inter";
  src: url("/vendor/inter/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-raised: #f7f8f8;
  --line: #e5e7ea;
  --fg: #0a0a0b;
  --fg-muted: #5f6570;
  --fg-faint: #8b919b;
  --accent: #12924a;
  --accent-b: #2a78d6;
  --accent-soft: rgba(18, 146, 74, .08);
  --go: #0f7b0f;
  --go-hover: #0b660b;
  --go-ink: #ffffff;
  --link: #0b63c5;
  --web: #2e9d52;
  --torrent: #7e4fd0;
  --shadow-card: 0 18px 40px -24px rgba(0, 0, 0, .25);
  --shadow-win: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px -16px rgba(0, 0, 0, .18);
  --track-a: #f6f7fb;
  --track-b: #d9ddea;
  --bench-idm: #7d8590;
  --bench-mdm: #0f7b0f;
  --bench-startup: #c98a10;
  --bench-transfer: #2f6fd6;
  --bench-finish: #8a5cd0;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  /* Older names, still used by the help pages, the benchmark and the Linux icon. */
  --ink: var(--fg); --ink-2: var(--fg-muted); --ink-3: var(--fg-faint);
  --surface: var(--bg); --raised: var(--bg-raised); --sunk: var(--bg-raised); --paper: var(--bg);
  --line-2: color-mix(in oklab, var(--fg) 15%, var(--bg));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #070708; --bg-raised: #131315; --line: #232327; --fg: #f4f4f5; --fg-muted: #9a9aa4; --fg-faint: #6e6e76;
    --accent: #3fbf6e; --accent-b: #5b9bff; --accent-soft: rgba(63, 191, 110, .12);
    --go: #2b9a3a; --go-hover: #34ad45; --link: #6cc4ff;
    --shadow-card: 0 18px 40px -20px rgba(0, 0, 0, .9); --shadow-win: 0 1px 2px rgba(0, 0, 0, .5), 0 12px 32px -16px rgba(0, 0, 0, .8);
    --track-a: #3a3d44; --track-b: #2a2c31;
    --bench-idm: #9aa3ae; --bench-mdm: #3fbf52; --bench-startup: #e0a53a; --bench-transfer: #5b9bff; --bench-finish: #b48cf2;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070708; --bg-raised: #131315; --line: #232327; --fg: #f4f4f5; --fg-muted: #9a9aa4; --fg-faint: #6e6e76;
  --accent: #3fbf6e; --accent-b: #5b9bff; --accent-soft: rgba(63, 191, 110, .12);
  --go: #2b9a3a; --go-hover: #34ad45; --link: #6cc4ff;
  --shadow-card: 0 18px 40px -20px rgba(0, 0, 0, .9); --shadow-win: 0 1px 2px rgba(0, 0, 0, .5), 0 12px 32px -16px rgba(0, 0, 0, .8);
  --track-a: #3a3d44; --track-b: #2a2c31;
  --bench-idm: #9aa3ae; --bench-mdm: #3fbf52; --bench-startup: #e0a53a; --bench-transfer: #5b9bff; --bench-finish: #b48cf2;
}

/* Screenshots and icons come in a day and a night version. */
.for-dark, .for-dark-i { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .for-light, :root:not([data-theme="light"]) .for-light-i { display: none; }
  :root:not([data-theme="light"]) .for-dark, :root:not([data-theme="light"]) .for-dark-i { display: block; }
}
:root[data-theme="dark"] .for-light, :root[data-theme="dark"] .for-light-i { display: none; }
:root[data-theme="dark"] .for-dark, :root[data-theme="dark"] .for-dark-i { display: block; }
[hidden] { display: none !important; }

/* ---- Base ------------------------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p a, li a, dd a, td a { text-underline-offset: 4px; }
code { font: .86em/1 var(--mono); background: var(--bg-raised); padding: .18em .4em; border-radius: 5px; border: 1px solid var(--line); }
.defs { position: absolute; }
.statcounter { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 50; background: var(--fg); color: var(--bg); padding: 8px 12px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 20px; }
.wrap.narrow, .narrow { max-width: 780px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
.accent { color: var(--accent); }
.grad { background: linear-gradient(100deg, var(--accent), var(--accent-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.label, .kicker, .eyebrow { display: block; margin: 0; font: 600 11px/1.3 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); }
.lede { font-size: 1.125rem; line-height: 1.6; color: var(--fg-muted); max-width: 56ch; margin: 16px 0 0; }
.lede.small { font-size: 1rem; max-width: 64ch; }
.fine { font-size: .84rem; color: var(--fg-muted); margin: 14px 0 0; }
.center { text-align: center; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- Buttons --------------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent; font: 500 14px/1 var(--font); text-decoration: none;
  white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s, opacity .15s;
}
.btn-h11, .btn-big { height: 44px; padding: 0 24px; font-size: 14px; }
.btn-small, .btn-h9 { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: var(--go); color: var(--go-ink); font-weight: 600; }
.btn-primary:hover { background: var(--go-hover); }
.btn-ink { background: var(--fg); color: var(--bg); }
.btn-ink:hover { opacity: .9; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-raised); }
.btn.wide { width: 100%; }
.btn .count { padding-left: 9px; margin-left: 2px; border-left: 1px solid var(--line); color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.os-ico { width: 16px; height: 16px; fill: currentColor; flex: none; }
.launch-button { display: inline-flex; align-items: center; margin-top: 20px; padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--fg); }
.launch-button:hover { background: var(--bg-raised); }
.text-link { font-size: 14px; font-weight: 500; color: var(--fg-muted); text-underline-offset: 4px; }
.text-link:hover { color: var(--fg); text-decoration: underline; }
.center-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 32px; }

/* The split download button: your system, the others under the arrow. */
.split { position: relative; display: inline-flex; }
.split-main { border-top-right-radius: 0; border-bottom-right-radius: 0; padding-right: 20px; gap: 10px; }
.split-more { position: relative; }
.split-more > summary { list-style: none; height: 44px; padding: 0 14px; border-top-left-radius: 0; border-bottom-left-radius: 0; border-left: 1px solid rgba(255, 255, 255, .25); }
.split-more > summary::-webkit-details-marker { display: none; }
.split-more > summary svg { width: 15px; height: 15px; transition: transform .15s; }
.split-more[open] > summary svg { transform: rotate(180deg); }
.split-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: 320px; margin: 0; padding: 6px;
  list-style: none; text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card);
}
.split-menu a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--fg); }
.split-menu a:hover { background: var(--bg-raised); }
.split-menu .os-ico { width: 18px; height: 18px; color: var(--fg-muted); }
.split-menu b { display: block; font-weight: 500; font-size: 14px; }
.split-menu small { display: block; color: var(--fg-muted); font-size: 12px; }
.split-menu .split-all { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.split-menu .split-all a { font-size: 13px; color: var(--fg-muted); }

/* ---- Header ---------------------------------------------------------------------------------- */

.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: -.01em; flex: none; }
.brand img { width: 26px; height: 26px; }
.nav { display: flex; gap: 22px; margin: 0 auto; }
.nav a { color: var(--fg-muted); text-decoration: none; font-size: 14px; transition: color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.top-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.theme { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--fg-muted); cursor: pointer; }
.theme:hover { color: var(--fg); }
.theme svg { width: 16px; height: 16px; }
.gh-pill { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--fg); text-decoration: none; font-size: 14px; font-weight: 500; }
.gh-pill:hover { background: var(--bg-raised); }
.gh-pill svg { width: 16px; height: 16px; fill: currentColor; }
.gh-pill .gh-label { display: none; }
.gh-count { font-variant-numeric: tabular-nums; }
.top-dl, .top-contrib { height: 36px; padding: 0 16px; }
.menu { display: none; position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 45; width: min(280px, calc(100vw - 32px)); display: grid; gap: 2px; padding: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card); }
.menu-panel a { padding: 10px 12px; border-radius: 10px; color: var(--fg); text-decoration: none; font-size: 15px; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--bg-raised); }
.menu-panel .btn { margin-top: 6px; color: var(--go-ink); }

/* ---- Hero ------------------------------------------------------------------------------------ */

.hero { padding: 12px 0 48px; }
.support { display: flex; justify-content: center; margin-top: 16px; }
.support-card {
  display: inline-flex; align-items: center; gap: 22px; max-width: 100%; padding: 16px; border-radius: 16px;
  border: 1px solid color-mix(in oklab, var(--accent) 35%, var(--bg)); background: var(--accent-soft); color: var(--fg); text-decoration: none;
  transition: border-color .15s, background-color .15s;
}
.support-card:hover { border-color: var(--accent); }
.support-text { display: flex; flex-direction: column; text-align: left; }
.support-text small { font-size: 12px; color: var(--accent); }
.support-text b { margin-top: 4px; font-size: 14px; font-weight: 600; }
.support-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid color-mix(in oklab, var(--accent) 45%, var(--bg)); border-radius: 8px; background: var(--bg); }
.support-badge svg { width: 28px; height: 28px; fill: var(--fg); }
.support-badge small { display: block; font: 600 9px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.support-badge b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.support-count { display: flex; flex-direction: column; align-items: center; padding-left: 12px; font-size: 13px; font-weight: 600; color: var(--accent); }
.support-count i { font-style: normal; font-size: 12px; }

.hero-stage { --word: clamp(108px, 14.6vw, 168px); position: relative; width: 100%; aspect-ratio: 4 / 1; margin-top: 10px; user-select: none; }
.hero-echoes { position: absolute; inset: 0; overflow: hidden; -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent); mask-image: radial-gradient(closest-side, #000 50%, transparent); }
.hero-echo { position: absolute; top: 50%; left: 0; transform: translateY(calc(-50% + var(--row) * var(--word) * .84)); font-size: var(--word); font-weight: 900; line-height: 1; letter-spacing: -.06em; white-space: nowrap; color: transparent; -webkit-text-stroke: 2px var(--accent); opacity: .24; }
.hero-echo[data-row="-2"] { --row: -2; opacity: .12; }
.hero-echo[data-row="-1"] { --row: -1; }
.hero-echo[data-row="1"] { --row: 1; }
.hero-echo[data-row="2"] { --row: 2; opacity: .12; }
.hero-echo-track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.hero-echo[data-row="-1"] .hero-echo-track, .hero-echo[data-row="2"] .hero-echo-track { animation-duration: 100s; animation-direction: reverse; }
.hero-echo-copy { display: flex; gap: .35em; padding-right: .35em; }
.hero-word-wrap { position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.hero-word {
  margin: 0; display: flex; font-size: var(--word); font-weight: 900; line-height: 1; letter-spacing: -.06em; white-space: nowrap; pointer-events: auto;
  background: linear-gradient(100deg, var(--accent) 20%, var(--accent-b) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-letter { display: inline-block; transition: transform .38s cubic-bezier(.2, 1.7, .4, 1); animation: hero-drop .9s cubic-bezier(.2, 1.5, .4, 1) both; animation-delay: calc(var(--i) * 70ms + .12s); }
.hero-letter:hover { transform: translateY(-.12em) rotate(-6deg); }
.hero-flyer { position: absolute; z-index: 25; animation: hero-pop .7s cubic-bezier(.2, 1.6, .4, 1) both; animation-delay: calc(.65s + var(--i) * 90ms); }
.hero-flyer img { width: 48px; height: 48px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .14)); animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.3s); }
.hero-flyer:first-of-type img { width: 60px; height: 60px; }
@keyframes hero-drop { from { opacity: 0; transform: translateY(-.4em); } to { opacity: 1; transform: none; } }
@keyframes hero-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-tagline { max-width: 20ch; font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero-cta .btn-ghost .os-ico { color: #e3a008; }
.hero-sub { max-width: 64ch; margin: 20px 0 0; font-size: 15px; line-height: 1.6; color: var(--fg-muted); }
.hero-sub a { color: var(--fg-muted); }

/* The app in a dark device frame. */
.hero-mock { margin: 48px auto 0; max-width: 1000px; }
.device { position: relative; padding: 10px 10px 16px; border-radius: 18px; background: #16171a; box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .5); }
.device-cam { position: absolute; top: 4px; left: 50%; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.device-screen { overflow: hidden; border-radius: 6px; background: #000; }
.device-screen img { width: 100%; }
.device.small { padding: 8px 8px 12px; border-radius: 14px; }
.hero-mock figcaption, .jobs-shot figcaption { margin-top: 14px; text-align: center; font-size: 13px; line-height: 1.6; color: var(--fg-muted); }
.hero-mock figcaption a, .jobs-shot figcaption a { color: var(--fg); text-underline-offset: 4px; }
figure { margin: 0; }
figure.window { width: fit-content; max-width: 100%; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-win); }

/* ---- Built in the open (mausbot's "Part of") ------------------------------------------------- */

.partof { margin-bottom: 56px; }
.partof-box { display: flex; align-items: center; gap: 32px; padding: 16px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raised); }
.partof-box h2 { flex: none; font: 600 11px/1.3 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); }
.partof-box ul { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin: 0; padding: 0; list-style: none; }
.partof-box a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); }
.partof-ico { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: color-mix(in oklab, var(--fg) 6%, transparent); }
.partof-ico svg { width: 18px; height: 18px; fill: currentColor; }
.partof-box b { display: block; font-size: 14px; font-weight: 500; line-height: 1.25; }
.partof-box a:hover b { color: var(--accent); }
.partof-box small { display: block; font-size: 12px; color: var(--fg-muted); line-height: 1.25; }

/* ---- In short -------------------------------------------------------------------------------- */

.tldr { margin-bottom: 64px; }
.tldr-box { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raised); }
.tldr-box .label { margin-bottom: 14px; }
.tldr-box p { margin: 0; color: var(--fg-muted); line-height: 1.7; }
.tldr-box strong { color: var(--fg); font-weight: 600; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0; align-content: start; }
.facts div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 12px; color: var(--fg-muted); }
.facts dd { margin: 2px 0 0; font-size: 14px; line-height: 1.4; }
.facts a { color: var(--fg); }

/* ---- Sections -------------------------------------------------------------------------------- */

.sec { padding: 80px 0; border-top: 1px solid var(--line); }
.sec-center { max-width: 42rem; margin: 0 auto 56px; text-align: center; }
.sec.tight { padding: 56px 0; }
.sec.flush { border-top: 0; }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(1.875rem, 3.5vw, 2.25rem); font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
.sec-head p { margin: 14px 0 0; font-size: 1.0625rem; line-height: 1.6; color: var(--fg-muted); }
.sec-center h2 { font-size: clamp(1.875rem, 3.5vw, 2.25rem); font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
.sec-center p { margin: 16px 0 0; font-size: 1.125rem; line-height: 1.6; color: var(--fg-muted); text-wrap: balance; }
.sec-h { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 600; letter-spacing: -.025em; }
.sec-p { max-width: 36rem; margin: 12px 0 0; color: var(--fg-muted); line-height: 1.6; }
.sec-p a { color: var(--fg-muted); text-underline-offset: 4px; }
.sec-intro { margin-bottom: 44px; }
.sec-intro h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; }
.sec-intro p { margin: 14px 0 0; color: var(--fg-muted); line-height: 1.7; }

/* The step sections (mausbot's "launch" sections). */
.launch-section { padding: 64px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.launch-section h2 { max-width: 760px; font-size: clamp(26px, 3vw, 38px); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; }
.launch-section h3 { font-size: 19px; font-weight: 600; line-height: 1.4; }
.launch-section p { margin: 14px 0 0; color: var(--fg-muted); line-height: 1.7; }
.launch-intro { max-width: 660px; }
.launch-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 36px 0; padding: 0; list-style: none; counter-reset: step; }
.launch-steps li { min-width: 0; counter-increment: step; }
.launch-steps .how-scene { margin-bottom: 18px; }
.launch-steps h3 { font-size: 17px; }
.launch-steps h3::before { content: counter(step) ". "; color: var(--accent); }
.launch-steps p { font-size: 14px; }
.launch-links { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; }
.launch-section > .launch-links { margin-top: 24px; }
.launch-links a, .launch-section p a { text-decoration: underline; text-underline-offset: 4px; color: var(--fg); }
.closing .launch-links { justify-content: center; margin-top: 22px; }

/* Line-drawn scenes. */
.how-scene {
  --how-paper: var(--bg); --how-shade: color-mix(in oklab, var(--fg) 6%, var(--bg)); --how-edge: color-mix(in oklab, var(--fg) 15%, var(--bg));
  --how-bar: color-mix(in oklab, var(--fg) 17%, var(--bg)); --how-track: color-mix(in oklab, var(--fg) 20%, var(--bg-raised));
  position: relative; aspect-ratio: 5 / 4; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raised);
}
.how-scene > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.how-scene svg * { stroke-linecap: round; stroke-linejoin: round; }
.how-paper { fill: var(--how-paper); stroke: var(--how-edge); stroke-width: 1.25px; }
.how-shade { fill: var(--how-shade); }
.how-chip { fill: var(--bg-raised); stroke: var(--how-edge); stroke-width: 1px; }
.how-lift { filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .05)) drop-shadow(0 9px 12px rgba(0, 0, 0, .07)); }
.how-screen { fill: #0b0b0d; }
.how-accent { fill: var(--accent); }
.how-bar { fill: none; stroke: var(--how-bar); stroke-width: 3px; }
.how-keys { fill: none; stroke: var(--how-bar); stroke-width: 2.5px; stroke-dasharray: 7 6; }
.how-fold { fill: none; stroke: var(--how-edge); stroke-width: 1.25px; }
.how-track { fill: none; stroke: var(--how-track); stroke-width: 1.5px; }
.how-dashed { stroke-dasharray: 4 7; }
.how-mono { font-family: var(--mono); font-size: 13px; }
.how-small { font-family: var(--font); font-size: 12px; }
.how-on-screen { fill: #ececf1; }
.how-on-paper { fill: var(--fg-muted); }

/* A real screenshot crop, floating on a raised card (the steps). */
.shot-scene { display: flex; align-items: center; justify-content: center; aspect-ratio: 5 / 4; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raised); }
.shot-scene img { max-width: 100%; max-height: 100%; width: auto; height: auto; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 1px 1.5px rgba(0, 0, 0, .05), 0 12px 24px -10px rgba(0, 0, 0, .22); }
.launch-steps .shot-scene { margin-bottom: 18px; }

/* The camera: a fixed frame (--f) holding a real window, whole and inset; then a quick move
   that fills the frame with the part that matters (a box measured in the screenshot: --k, --tx,
   --ty), a hold to read it, and back out; looped. Each card starts at its own point (--d). */
.cam { position: relative; overflow: hidden; width: 100%; aspect-ratio: var(--f); background: var(--bg-raised); }
.cam img { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: auto; transform-origin: 0 0; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 1px 1.5px rgba(0, 0, 0, .05), 0 10px 22px -10px rgba(0, 0, 0, .25); animation: cam 7s cubic-bezier(.7, 0, .3, 1) var(--d, 0s) infinite; }
@keyframes cam {
  0%, 12% { transform: none; }
  26%, 72% { transform: translate(var(--tx), var(--ty)) scale(var(--k)); }
  86%, 100% { transform: none; }
}
.shot-scene { padding: 0; }
.shot-scene .cam { border-radius: 16px; }
.cam-frame { margin-top: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-win); }
.device-screen .cam { background: #1c1d20; }
.device-screen .cam img { border-color: #000; }

/* How it works: scenes with their words under them. */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.how-grid h3 { margin-top: 20px; font-size: 1rem; font-weight: 600; }
.how-grid p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--fg-muted); }

/* ---- Feature cards with small windows (mausbot's bot cards) ---------------------------------- */

.feature-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.fcard {
  display: flex; flex-direction: column; min-width: 0; grid-column: span 3; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raised);
  transition: border-color .3s, box-shadow .3s, translate .3s;
}
.fcard:hover { translate: 0 -2px; border-color: color-mix(in oklab, var(--fg) 15%, var(--bg)); box-shadow: var(--shadow-card); }
.fcard h3 { font-size: 1.125rem; font-weight: 500; letter-spacing: -.02em; }
.fcard > p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--fg-muted); }
.fcard.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 40px; padding: 40px; }
.fcard-text { flex: 0 0 30%; }
.fcard.wide h3 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); line-height: 1.15; }
.fcard-text p { margin: 8px 0 0; font-size: 1rem; line-height: 1.6; color: var(--fg-muted); }
.fcard-text .fcard-link { margin-top: 18px; font-size: 14px; }
.fcard-text .fcard-link a { color: var(--fg); text-underline-offset: 4px; }
.fcard-media { flex: 1; display: flex; justify-content: center; }
.fcard-media .device { width: 100%; max-width: 560px; }
.mwin { display: flex; flex-direction: column; flex: 1; min-height: 0; margin-top: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); box-shadow: var(--shadow-win); }
.mwin-bar { display: flex; align-items: center; gap: 6px; height: 32px; flex: none; padding: 0 12px; border-bottom: 1px solid var(--line); }
.mwin-bar i { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in oklab, var(--fg) 15%, transparent); }
.mwin-bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 500; color: var(--fg-muted); }
.mwin-bar em { margin-left: auto; flex: none; font-style: normal; font-size: 11px; color: var(--fg-muted); }
.mwin-bar em.live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
.mwin-img { flex: 1; display: flex; align-items: flex-start; overflow: hidden; background: #f0f0f0; }
.mwin-img img { width: 100%; height: auto; }
.mwin ul { margin: 0; padding: 10px; list-style: none; display: grid; gap: 4px; align-content: start; }
.mwin li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; border-radius: 8px; font-size: 12px; }
.mwin li b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mwin li small { margin-left: auto; flex: none; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.mwin-list li.on { border: 1px solid color-mix(in oklab, var(--accent) 45%, var(--bg)); background: var(--accent-soft); }
.mwin-list li em { font-style: normal; color: var(--accent); font-size: 12px; }
.mwin-tree li { padding: 5px 8px; }
.mwin-tree li.l2 { padding-left: 28px; }
.cb { width: 12px; height: 12px; flex: none; border: 1px solid color-mix(in oklab, var(--fg) 30%, var(--bg)); border-radius: 3px; }
.cb.on { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--bg); }
.mwin-rows li { border-bottom: 1px solid var(--line); border-radius: 0; }
.mwin-rows li:last-child { border-bottom: 0; }
.pill { display: inline-block; flex: none; padding: 0 8px; border-radius: 999px; color: #fff; font-size: 10px; line-height: 1.7; font-weight: 600; }
.pill.web { background: var(--web); }
.pill.torrent { background: var(--torrent); }
.mwin-keys li { border: 1px solid var(--line); }
.mwin-keys li.on { border-color: var(--accent); }
.mwin-keys .dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent); }
.mwin-keys .dot.amber { background: #e0a53a; }
.mwin-hash { padding: 14px; display: grid; gap: 8px; }
.mwin-hash small { font-size: 11px; color: var(--fg-muted); }
.mwin-hash code { display: block; padding: 10px; font-size: 11px; line-height: 1.5; word-break: break-all; border-radius: 8px; }
.mwin-hash .ok { font-size: 12px; font-weight: 500; color: var(--accent); }
.mwin-cal { display: grid; grid-template-columns: 38px repeat(5, 1fr); gap: 4px; padding: 10px; font-size: 10px; }
.mwin-cal > span { color: var(--fg-muted); text-align: center; padding: 2px 0; }
.mwin-cal > span.t { text-align: left; padding-top: 6px; }
.mwin-cal > span.today { color: var(--accent); font-weight: 600; }
.mwin-cal > i { border-radius: 6px; background: color-mix(in oklab, var(--fg) 3%, transparent); min-height: 26px; }
.mwin-cal .ev { display: grid; place-items: center; min-height: 26px; border-radius: 6px; font-weight: 500; font-size: 10px; background: color-mix(in oklab, #e0a53a 18%, var(--bg)); border: 1px solid color-mix(in oklab, #e0a53a 45%, var(--bg)); color: color-mix(in oklab, #b06f00 80%, var(--fg)); }
.mwin-cal .ev.now { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.mwin-cal .ev.stop { background: color-mix(in oklab, var(--accent-b) 12%, var(--bg)); border-color: color-mix(in oklab, var(--accent-b) 40%, var(--bg)); color: var(--accent-b); }
.mwin-cal .ev.off { background: color-mix(in oklab, #d14 10%, var(--bg)); border-color: color-mix(in oklab, #d14 35%, var(--bg)); color: #c0263b; }

/* ---- What do you download? (mausbot's job picker) -------------------------------------------- */

.jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; align-items: start; }
.job-tabs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.job-tab { position: relative; display: block; width: 100%; padding: 14px 6px 18px; border: 0; background: none; color: var(--fg-muted); font: 500 15px/1.3 var(--font); text-align: left; cursor: pointer; transition: color .2s; }
.job-tab[aria-selected="true"] { font-weight: 600; }
.job-tab:hover, .job-tab[aria-selected="true"] { color: var(--fg); }
.job-bar { position: absolute; left: 0; right: 12px; bottom: -1px; height: 2px; overflow: hidden; background: transparent; }
/* The selected tab always shows its line; the fill on it is the time to the next tab. */
.job-tab[aria-selected="true"] .job-bar { background: color-mix(in oklab, var(--accent) 28%, transparent); }
.job-bar i { display: block; width: 0; height: 100%; background: var(--accent); }
.job-tab[aria-selected="true"] .job-bar i { width: 100%; }
.is-auto .job-tab[aria-selected="true"] .job-bar i { width: auto; animation: job-fill 7s linear forwards; }
.is-paused .job-tab[aria-selected="true"] .job-bar i { animation-play-state: paused; }
@keyframes job-fill { from { width: 0; } to { width: 100%; } }
.job-panel { margin-top: 4px; }
.job-lede { margin: 0; font-size: 1.15rem; line-height: 1.6; max-width: 34em; }
.job-panel dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; margin: 20px 0 0; font-size: 15px; }
.job-panel dt { color: var(--fg-muted); }
.job-panel dd { margin: 0; }
.jobs-shot .device { max-width: 560px; margin: 0 auto; }
.js-off .job-panel[hidden] { display: block !important; }

/* ---- Works with (mausbot's partners) --------------------------------------------------------- */

.with-rows { display: grid; gap: 18px; margin-top: 40px; }
.with-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track[data-reverse] { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-copy { display: flex; align-items: center; gap: 12px; padding-right: 12px; }
.tchip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); white-space: nowrap; }
.tchip b { font-size: 15px; font-weight: 600; }
.tchip-ico { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: color-mix(in oklab, var(--fg) 6%, transparent); color: var(--fg); }
.tchip-ico svg { width: 17px; height: 17px; fill: currentColor; }
.tchip-ico.logo { background: none; }
.tchip-ico.logo img { width: 26px; height: 26px; }
.tchip small { font-size: 13px; color: var(--fg-muted); }

/* ---- Showcase: the app's windows, whole and still -------------------------------------------- */

/* Each row shares its width in proportion to its windows' real widths (--gw), so every window
   in a row shows at the same scale. */
.gallery { display: grid; gap: 16px; }
.g-row { display: flex; gap: 16px; }
.g-row > .g-item { flex: var(--gw) 1 0; }
.g-item { display: flex; flex-direction: column; margin: 0; min-width: 0; padding: 24px 24px 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-raised); }
.g-shot { flex: 1; display: flex; align-items: center; }
.g-shot img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 2px 4px rgba(0, 0, 0, .04), 0 28px 56px -28px rgba(0, 0, 0, .35); }
.g-item figcaption { margin-top: 22px; font-size: 15px; color: var(--fg-muted); }
.g-item figcaption b { color: var(--fg); font-weight: 600; margin-right: 6px; }

/* ---- Speed: the benchmark replayed ------------------------------------------------------------ */

.race { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--bg-raised); }
.race-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.race-tabs { min-width: 0; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap !important; }
.race-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.race-tabs button { padding: 9px 14px; white-space: nowrap; border: 0; border-radius: 999px; background: none; color: var(--fg-muted); font: 500 14px/1 var(--font); cursor: pointer; }
.race-tabs button[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.race-replay { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; flex: none; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--fg); font: 500 14px/1 var(--font); cursor: pointer; }
.race-replay svg { width: 16px; height: 16px; }
.lane { display: grid; grid-template-columns: 290px minmax(0, 1fr) 140px; align-items: center; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.lane-name { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.lane-name b { font-weight: 600; }
.lane-dot { width: 22px; height: 22px; border-radius: 50%; background: color-mix(in oklab, var(--fg) 18%, transparent); }
/* The app's own connection bar: eight parts, each filling its piece of the file. */
.lane-bar { display: grid; grid-template-columns: repeat(8, 1fr); height: 22px; overflow: hidden; border: 1px solid #656b7b; border-radius: 3px; background: linear-gradient(var(--track-a), var(--track-b)); }
.lane-bar i { position: relative; display: block; border-left: 2px solid #e0242a; }
.lane-bar i:first-child { border-left: 0; }
.lane-bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); background: linear-gradient(#1a3db4, #3d6fe8 40%, #9ad3ff 55%, #2f63d8 70%, #1c45b9); }
.lane.idm .lane-bar i::after { background: linear-gradient(#5b6270, #7d8590 40%, #c7ccd4 55%, #7a828d 70%, #5d6470); }
.lane.waiting .lane-bar { animation: lane-wait 1s ease-in-out infinite; }
@keyframes lane-wait { 50% { opacity: .55; } }
.lane-time { text-align: right; font-variant-numeric: tabular-nums; }
.lane-time span { display: block; font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.lane-time small { display: block; margin-top: 2px; font-size: 12px; color: var(--fg-muted); }
.lane.done .lane-time small { color: var(--accent); }
.lane.idm.done .lane-time small { color: var(--fg-muted); }
.race-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.race-big { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.race-big span { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 650; line-height: 1; letter-spacing: -.05em; background: linear-gradient(100deg, var(--accent), var(--accent-b)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.race-big small { font-size: 1rem; color: var(--fg-muted); }
.race-note { flex: 1; min-width: 220px; margin: 0; font-size: 14px; line-height: 1.6; color: var(--fg-muted); }
.tldr-late { margin-top: 64px; }

/* ---- Measured -------------------------------------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raised); }
.stat .num { margin: 0; }
.stat .num span { font-size: clamp(2.75rem, 5vw, 3.75rem); font-weight: 600; line-height: 1; letter-spacing: -.04em; background: linear-gradient(100deg, var(--accent), var(--accent-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .num small { margin-left: 10px; font-size: .9rem; color: var(--fg-muted); }
.stat h3 { margin-top: 14px; font-size: 1rem; font-weight: 600; }
.stat > p:not(.num) { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--fg-muted); }

/* ---- The project (mausbot's community card) -------------------------------------------------- */

.pill-link { display: inline-flex; margin-bottom: 24px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--fg-muted); text-decoration: none; }
.pill-link:hover { color: var(--fg); }
.community { display: flex; align-items: center; justify-content: space-between; gap: 64px; padding: 40px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raised); }
.community-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.community-ico svg { width: 22px; height: 22px; fill: var(--fg); }
.community h2 { margin-top: 20px; font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 600; letter-spacing: -.025em; }
.community-lede { max-width: 28rem; margin: 12px 0 0; font-size: 1rem; line-height: 1.6; color: var(--fg-muted); }
.community-small { max-width: 28rem; margin: 16px 0 0; font-size: 14px; line-height: 1.6; color: var(--fg-muted); }
.community-side { display: flex; flex-direction: column; flex: none; }
.community-stats { display: flex; align-items: center; gap: 32px; margin-bottom: 26px; }
.community-stats b { display: flex; align-items: center; gap: 10px; font-size: 1.875rem; font-weight: 600; letter-spacing: -.025em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.community-stats small { display: block; margin-top: 6px; font: 600 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); }
.community-stats .vr { width: 1px; height: 40px; background: var(--line); }
.ping { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
.community-links { display: flex; justify-content: center; gap: 20px; margin-top: 14px; font-size: 13px; }
.community-links a { color: var(--fg-muted); text-underline-offset: 4px; }
.community-links a:hover { color: var(--fg); }

/* ---- Hello ----------------------------------------------------------------------------------- */

.hello { padding: 96px 0; }
.hello-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hello-stage { display: grid; justify-items: center; font-size: clamp(3.75rem, 15vw, 10rem); font-weight: 600; line-height: 1.3; letter-spacing: -.045em; }
.hello-word { grid-area: 1 / 1; padding: 0 .1em; white-space: nowrap; opacity: 0; }
.hello-word:lang(hi), .hello-word:lang(ja), .hello-word:lang(zh), .hello-word:lang(ko), .hello-word:lang(ar), .hello-word:lang(he) { letter-spacing: 0; }
.hello-word[data-pos="current"] { opacity: 1; -webkit-mask-image: linear-gradient(90deg, #000, #000 33.3%, transparent 50%); mask-image: linear-gradient(90deg, #000, #000 33.3%, transparent 50%); -webkit-mask-size: 300% 100%; mask-size: 300% 100%; animation: hello-write .9s cubic-bezier(.3, 0, .2, 1) .24s both; }
.hello-word[data-pos="past"] { animation: hello-leave .42s ease both; }
@keyframes hello-write { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes hello-leave { from { opacity: 1; } to { opacity: 0; transform: translateY(-.08em); } }
.hello-from { display: inline-flex; align-items: center; gap: 12px; margin: 4px 0 0; font-size: clamp(1.5rem, 3.4vw, 2.25rem); font-weight: 600; letter-spacing: -.03em; }
.hello-from span { color: var(--fg-muted); font-weight: 500; }
.hello-from img { width: 40px; height: 40px; }
.hello-sub { max-width: 36rem; margin: 22px 0 0; font-size: 1.125rem; line-height: 1.6; color: var(--fg-muted); }
.hello-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 920px; margin: 32px 0 0; padding: 0; list-style: none; }
.hello-chip { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; line-height: 1.4; color: var(--fg-muted); text-decoration: none; transition: background-color .3s, border-color .3s, color .3s; }
.hello-chip:hover { color: var(--fg); }
.hello-chip[data-on] { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.hello-note { margin: 24px 0 0; font-size: 14px; color: var(--fg-muted); }
.hello-note a { color: var(--fg-muted); text-underline-offset: 4px; }

/* ---- Download (mausbot's plan cards) --------------------------------------------------------- */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raised); }
.plan.current { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.plan h3, .plan .h3like { display: flex; align-items: center; gap: 8px; font-size: 1.125rem; font-weight: 600; }
.plan dt a { color: var(--fg); font-weight: 500; }
.plan h3 .os-ico { width: 18px; height: 18px; }
.plan-tag { font-size: 14px; color: var(--fg-muted); }
.plan-tags { display: flex; gap: 6px; margin: 14px 0 22px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; background: color-mix(in oklab, var(--fg) 7%, transparent); color: var(--fg); }
.tag.stable { background: var(--accent-soft); color: var(--accent); }
.tag.try { background: color-mix(in oklab, #e0a53a 18%, transparent); color: color-mix(in oklab, #b06f00 85%, var(--fg)); }
.plan dl { margin: 10px 0 24px; flex: 1; }
.plan dl div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.plan dl div:last-child { border-bottom: 0; }
.plan dt { font-size: 13px; color: var(--fg-muted); }
.plan dd { margin: 3px 0 0; font-size: 15px; line-height: 1.4; }
.plan dd a { color: var(--fg); }
.plan .btn { width: 100%; }
.plans-note { max-width: 48rem; margin: 26px auto 0; text-align: center; font-size: 13px; line-height: 1.7; color: var(--fg-muted); }
.plans-note a { color: var(--fg-muted); text-underline-offset: 3px; }

/* ---- Tables (compare, report) ---------------------------------------------------------------- */

.table-wrap { overflow-x: auto; margin-top: 30px; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 600 11px/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); background: var(--bg-raised); }
tbody th { font-weight: 500; width: 30%; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.yes::before { content: ""; display: inline-block; width: 9px; height: 5px; margin: 0 10px 3px 0; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
td:not(.yes) { color: var(--fg-muted); }
sup a { text-decoration: none; font-size: .78em; margin-left: 2px; color: var(--link); }
.sources { margin: 22px 0 0; padding-left: 22px; color: var(--fg-muted); font-size: 13px; display: grid; gap: 6px; }
.sources a { color: var(--fg-muted); }

/* ---- FAQ (mausbot's launch FAQ) -------------------------------------------------------------- */

.launch-faq { max-width: 840px; margin-top: 30px; }
.launch-faq details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.launch-faq summary { cursor: pointer; font-weight: 500; line-height: 1.5; }
.launch-faq p { max-width: 720px; padding-bottom: 6px; }

/* ---- Closing --------------------------------------------------------------------------------- */

.closing { overflow: hidden; border-top: 1px solid var(--line); }
.closing-inner { display: flex; flex-direction: column; align-items: center; max-width: 48rem; margin: 0 auto; padding: 80px 20px 0; text-align: center; }
.closing h2 { font-size: clamp(1.875rem, 4.5vw, 3rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.closing-inner > p { max-width: 32rem; margin: 16px 0 0; font-size: 1.125rem; color: var(--fg-muted); }
.closing-art { display: block; width: min(560px, 90vw); margin: 56px auto -2px; }

/* ---- Footer ---------------------------------------------------------------------------------- */

.foot { position: relative; overflow: hidden; padding: 56px 0 0; border-top: 1px solid var(--line); }
.foot-cols { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 32px; }
.foot-brand .brand { font-size: 17px; }
.foot-tag { max-width: 34ch; margin: 14px 0 0; font-size: 15px; line-height: 1.55; color: var(--fg-muted); }
.foot-star { margin-top: 18px; }
.foot-star .os-ico { color: #e3a008; }
.foot-cols h2 { margin: 6px 0 18px; font: 600 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); }
.foot-cols ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.foot-cols a { color: var(--fg-muted); text-decoration: none; font-size: 15px; }
.foot-cols a:hover { color: var(--fg); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-muted); }
.foot-bottom p { margin: 0; }
.foot-bottom a { color: var(--fg-muted); }
.legal { margin: 14px 0 0; max-width: 90ch; font-size: 12px; line-height: 1.6; color: var(--fg-muted); }
.foot-mark { height: .56em; margin: 32px 0 0; overflow: hidden; text-align: center; font-size: clamp(7rem, 30vw, 24rem); font-weight: 800; line-height: .82; letter-spacing: -.06em; color: color-mix(in oklab, var(--fg) 5%, var(--bg)); user-select: none; pointer-events: none; }

/* ---- Inner pages (help, FAQ, news, legal, download, benchmark) -------------------------------- */

.page-head { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 22ch; font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; }
.page-head .lede { max-width: 64ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; font-size: 13px; color: var(--fg-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--fg-muted); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.wrap.narrow.prose { max-width: 72rem; }
.wrap.narrow.prose > * { max-width: 760px; }
.wrap.narrow.prose > .table-wrap, .wrap.narrow.prose > figure { max-width: 100%; }
.summary-box { margin: 0 0 8px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raised); }
.summary-box h2 { margin-top: 0 !important; }
.summary-box ul { margin: 8px 0 0; padding-left: 20px; }
.prose { max-width: 74ch; min-width: 0; }
.prose h1 { font-size: 2.2rem; margin: 0 0 12px; }
.prose h2 { margin: 48px 0 10px; font-size: 1.5rem; font-weight: 600; letter-spacing: -.025em; }
.prose h3 { margin: 28px 0 6px; font-size: 1.1rem; font-weight: 600; }
.prose p, .prose li { color: var(--fg-muted); line-height: 1.7; }
.prose li + li { margin-top: 6px; }
.prose b, .prose strong { color: var(--fg); font-weight: 600; }
.prose a { color: var(--link); }
.prose img { margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; }
.prose pre { padding: 14px 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-raised); }
.prose pre code { padding: 0; border: 0; background: none; font-size: .86rem; line-height: 1.55; }
.prose blockquote { margin: 16px 0; padding: 10px 18px; border-left: 3px solid var(--accent); background: var(--bg-raised); border-radius: 0 12px 12px 0; }
.prose blockquote p { margin: 4px 0; }
.prose kbd { padding: 1px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: var(--bg); font: .84em var(--mono); white-space: nowrap; }
.prose .path { font-weight: 600; color: var(--fg); }
.prose .note { padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--bg-raised); border-radius: 0 12px 12px 0; }
.prose table { min-width: 0; margin: 12px 0; font-size: .94rem; }
.prose td, .prose th { padding: 9px 12px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
/* A long path or command in a cell or a sentence breaks rather than widening a phone's page. */
.prose :not(pre) > code { overflow-wrap: anywhere; }
.prose .toc { columns: 2; gap: 32px; padding-left: 18px; }
.prose .table-wrap { max-height: 620px; overflow: auto; margin-top: 12px; }
.prose .table-wrap table { min-width: 560px; margin: 0; }
.prose .table-wrap thead th { position: sticky; top: 0; }
.prose details { padding: 16px 0; border-bottom: 1px solid var(--line); }
.prose summary { cursor: pointer; font-weight: 500; }
.related { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); }
.related h2 { margin: 0 0 10px !important; font-size: 1.05rem !important; }
.related ul { padding-left: 18px; }
.page-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.page-tools a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--fg-muted); text-decoration: none; font-size: 13px; }
.page-tools a:hover { color: var(--fg); background: var(--bg-raised); }
.page-tools svg { width: 14px; height: 14px; fill: currentColor; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 40px 0 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raised); }
.cta-band p { margin: 0 !important; color: var(--fg) !important; font-weight: 600; }
.cta-band .btn-primary { color: var(--go-ink); }
.contrib-ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 12px; }
.contrib-ways a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raised); color: var(--fg); text-decoration: none; }
.contrib-ways a:hover { border-color: var(--accent); }
.contrib-ways b { display: block; font-weight: 600; }
.contrib-ways span { display: block; margin-top: 4px; font-size: .9rem; color: var(--fg-muted); }
.faq-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.faq-list li { margin: 0 !important; }
.faq-list a { display: block; padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--fg); text-decoration: none; font-weight: 500; }
.faq-list a:hover { color: var(--accent); }
.lang-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.lang-grid li { display: flex; align-items: center; gap: 10px; margin: 0 !important; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-raised); font-size: .92rem; color: var(--fg); }
.lang-grid img { width: 24px; height: 18px; flex: none; margin: 0; border: 0; border-radius: 3px; object-fit: cover; }
.lang-grid small { display: block; font-size: .8rem; color: var(--fg-muted); }
.release { padding-top: 8px; border-top: 1px solid var(--line); }
.release h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.release time { font-size: .85rem; font-weight: 500; color: var(--fg-muted); }
.not-found { padding: 110px 0 130px; text-align: center; }
.not-found .num { margin: 0; font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.ticks { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 28px; color: var(--fg-muted); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.ticks b { color: var(--fg); font-weight: 600; }

/* Download page cards. */
.os-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.os-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raised); }
.os-card.current { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.os-big { width: 32px; height: 32px; margin-bottom: 8px; fill: var(--fg); }
.os-card .h3like { font-size: 1.2rem; font-weight: 600; }
.os-card .files { display: grid; gap: 6px; margin: 12px 0 18px; padding: 0; list-style: none; font-size: .88rem; color: var(--fg-muted); }
.os-card .btn { margin-top: auto; }
.os-card .tag { align-self: flex-start; }
.repo-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.repo-links a { display: flex; gap: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raised); color: var(--fg); text-decoration: none; }
.repo-links a:hover { border-color: var(--accent); }
.repo-links svg { width: 20px; height: 20px; flex: none; margin-top: 2px; fill: currentColor; color: var(--fg-muted); }
.repo-links b { display: block; font-weight: 600; }
.repo-links span { display: block; margin-top: 3px; font-size: .88rem; color: var(--fg-muted); }

/* Benchmark page: speed-up per scenario (log scale), grown in when seen. */
.speedup { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--bg-raised); }
.su-axis { position: relative; height: 18px; margin: 0 120px 6px 260px; font-size: 11px; color: var(--fg-muted); }
.su-axis span { position: absolute; top: 0; transform: translateX(-50%); }
.su-row { display: grid; grid-template-columns: 240px minmax(0, 1fr) 100px; align-items: center; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.su-name b { display: block; font-size: 15px; font-weight: 600; }
.su-name small { display: block; margin-top: 2px; font-size: 12px; color: var(--fg-muted); }
.su-track { position: relative; height: 28px; }
.su-tick { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.su-bar { position: absolute; left: 0; top: 4px; bottom: 4px; width: 0; border-radius: 0 6px 6px 0; background: linear-gradient(90deg, var(--accent), var(--accent-b)); box-shadow: 0 6px 18px -8px var(--accent); transition: width 1.3s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.speedup.in .su-bar { width: var(--w); }
.su-ci { position: absolute; top: 50%; height: 12px; margin-top: -6px; border: 2px solid var(--fg); border-top: 0; border-bottom: 0; opacity: 0; transition: opacity .4s ease calc(var(--d, 0s) + 1.2s); }
.su-ci::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: var(--fg); }
.speedup.in .su-ci { opacity: .7; }
.su-val { text-align: right; font-variant-numeric: tabular-nums; }
.su-val b { display: block; font-size: 1.5rem; font-weight: 650; letter-spacing: -.02em; }
.su-val small { font-size: 11px; color: var(--fg-muted); }

/* 480 connections against 2: one square each, appearing in order. */
.conn-race { display: grid; grid-template-columns: 1fr 3fr; gap: 16px; }
.conn-col { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-raised); }
.conn-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 15px; }
.conn-head b { font-weight: 600; }
.conn-head span:last-child { margin-left: auto; font-size: 2rem; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.conn-grid { display: grid; grid-template-columns: repeat(auto-fill, 14px); gap: 4px; min-height: 120px; align-content: start; }
.conn-grid i { width: 14px; height: 14px; border-radius: 3px; background: var(--accent); opacity: 0; transform: scale(.3); }
.conn-col.idm .conn-grid i { background: var(--bench-idm); }
.conn-race.in .conn-grid i { animation: sq .35s cubic-bezier(.2, 1.4, .4, 1) calc(var(--i) * 6ms) forwards; }
@keyframes sq { to { opacity: 1; transform: none; } }
.conn-col p { margin: 18px 0 0; font-size: 14px; line-height: 1.6; color: var(--fg-muted); }

/* Benchmark page. */
.bench-switch { display: inline-flex; gap: 4px; margin-top: 8px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-raised); }
.bench-switch button { padding: 10px 16px; border: 0; border-radius: 999px; background: none; color: var(--fg-muted); font: 500 14px/1 var(--font); cursor: pointer; }
.bench-switch button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.bench-note { max-width: 78ch; }
.bench-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.bench-card { min-width: 0; padding: 16px 18px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raised); }
.bench-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bench-card h3 { font-size: .98rem; font-weight: 600; }
.bench-ratio { margin: 0; flex: none; text-align: right; font: 500 .84rem/1.3 var(--font); color: var(--fg-muted); }
.bench-ratio b { color: var(--accent); font-size: 1rem; }
.bench-chart { height: 112px; margin-top: 6px; }
.bench-meta { margin: 2px 0 0; font: .76rem/1.4 var(--font); color: var(--fg-muted); overflow-wrap: anywhere; }
.bench-status { max-width: 78ch; margin: 22px 0 0; padding: 10px 14px; border: 1px dashed var(--fg-muted); border-radius: 12px; color: var(--fg-muted); font-size: .92rem; }
.bench-card.is-provisional { border-style: dashed; }
.bench-card.is-provisional .bench-chart { opacity: .45; }
.bench-badge { display: inline-block; padding: 2px 8px; border: 1px solid var(--fg-muted); border-radius: 999px; font: 600 .74rem/1.4 var(--mono); color: var(--fg-muted); }
.bench-why { margin: 4px 0 0; font-size: .84rem; color: var(--fg-muted); }
tr.is-provisional td, tr.is-provisional th { color: var(--fg-muted); }
.bench-h { margin: 56px 0 10px; font-size: 1.3rem; font-weight: 600; }
.bench-wide { height: 520px; margin-top: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raised); }
.bench-wide.short { height: 420px; }
.bench-details { margin-top: 28px; padding: 16px 0; border-top: 1px solid var(--line); }
.bench-details summary { cursor: pointer; font-weight: 500; }
.bench-details table { min-width: 980px; font-size: .86rem; }
.method { display: grid; gap: 10px; max-width: 86ch; padding-left: 20px; color: var(--fg-muted); }
.method b { color: var(--fg); }

/* Help pages: a sidebar of the pages and a readable article. */
.doc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; padding: 56px 20px 96px; }
.doc-nav { position: sticky; top: 88px; align-self: start; display: grid; gap: 1px; max-height: calc(100vh - 110px); overflow: auto; }
.doc-nav p { margin: 18px 0 8px; font: 600 11px/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); }
.doc-nav p:first-child { margin-top: 0; }
.doc-nav a { padding: 6px 12px; border-radius: 8px; color: var(--fg-muted); text-decoration: none; font-size: 14px; }
.doc-nav a:hover { background: var(--bg-raised); color: var(--fg); }
.doc-nav a[aria-current="page"] { background: var(--bg-raised); color: var(--fg); font-weight: 500; box-shadow: inset 2px 0 0 var(--accent); }

/* ---- Lightbox ------------------------------------------------------------------------------ */

.lb-zoomable { cursor: zoom-in; transition: transform .2s ease, box-shadow .2s ease; }
.g-shot .lb-zoomable:hover { transform: translateY(-2px); }
.lb-zoomable:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
html.lb-on { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 100; display: none; flex-direction: column; background: rgba(8, 9, 11, .97); color: #f4f4f5; }
.lb.open { display: flex; animation: lb-in .2s ease; }
@keyframes lb-in { from { opacity: 0; } }
.lb-stage { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; cursor: zoom-out; }
.lb-pic { max-width: none; flex: none; border-radius: 6px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); cursor: zoom-in; transform-origin: center; transition: transform .25s cubic-bezier(.2, .7, .2, 1); user-select: none; -webkit-user-drag: none; }
.lb.zoomed .lb-pic { cursor: grab; }
.lb.zoomed .lb-pic:active { cursor: grabbing; transition: none; }
.lb.loading .lb-pic { opacity: 0; }
.lb-bar { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 10px 16px 10px 24px; border-top: 1px solid rgba(255, 255, 255, .08); }
.lb-count { flex: none; min-width: 3.5em; font-size: 13px; color: #a1a1aa; font-variant-numeric: tabular-nums; }
.lb-cap { flex: 1; margin: 0; font-size: 14px; line-height: 1.5; color: #e4e4e7; }
.lb-hint { flex: none; font-size: 12px; color: #71717a; }
.lb-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; background: rgba(24, 24, 27, .7); color: #f4f4f5; cursor: pointer; }
.lb-btn:hover { background: rgba(63, 63, 70, .9); }
.lb-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lb-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-nav { position: absolute; top: calc(50% - 54px); }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-btn[hidden] { display: none; }

/* ---- Narrower screens ------------------------------------------------------------------------ */

@media (max-width: 1040px) {
  .nav, .top-contrib { display: none; }
  .top-actions { margin-left: auto; }
  .menu { display: block; }
  .launch-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fcard { grid-column: span 1; }
  .fcard.wide { grid-column: 1 / -1; flex-direction: column; align-items: stretch; padding: 24px; gap: 24px; }
  .jobs { grid-template-columns: 1fr; gap: 40px; }
  .community { flex-direction: column; align-items: stretch; gap: 32px; }
  .tldr-box { grid-template-columns: 1fr; }
  .plans, .os-cards, .repo-links { grid-template-columns: 1fr; }
  .conn-race { grid-template-columns: 1fr; }
  .su-axis { margin-left: 0; margin-right: 0; }
  .su-row { grid-template-columns: 1fr auto; }
  .su-track { grid-column: 1 / -1; grid-row: 2; }
  .g-row { flex-direction: column; }
  .lane { grid-template-columns: 1fr auto; }
  .lane-bar { grid-column: 1 / -1; grid-row: 2; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .partof-box { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .sec { padding: 56px 0; }
  .launch-section { padding: 44px 0; }
  .launch-steps, .how-grid, .stats, .feature-grid { grid-template-columns: 1fr; }
  .support-card { flex-direction: column; gap: 12px; text-align: center; }
  .support-text { text-align: center; }
  .hero-stage { aspect-ratio: 5 / 2; --word: clamp(64px, 22vw, 120px); }
  .hero-flyer img { width: 36px; height: 36px; }
  .hero-flyer:first-of-type img { width: 44px; height: 44px; }
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; }
  .split { width: 100%; }
  .split-main { flex: 1; }
  .split-menu { width: min(320px, calc(100vw - 32px)); }
  .with-row { grid-template-columns: 1fr; gap: 10px; }
  .lb-hint { display: none; }
  .lb-bar { padding: 10px 12px; }
  .lb-nav { top: auto; bottom: 74px; }
  .g-item { padding: 16px 16px 14px; border-radius: 16px; }
  .race { padding: 18px; }
  .race-tabs { width: 100%; border-radius: 16px; }
  .race-tabs button { flex: 1 1 auto; }
  .job-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .job-tabs li { flex: none; }
  .job-tab { padding-right: 18px; white-space: nowrap; }
  .community, .tldr-box { padding: 24px; }
  .community-stats { gap: 20px; }
  .facts { grid-template-columns: 1fr; }
  .bench-grid { grid-template-columns: 1fr; }
  .bench-wide { height: 640px; }
  .contrib-ways { grid-template-columns: 1fr; }
  .top-dl { display: none; }
  .doc { grid-template-columns: 1fr; gap: 24px; padding: 32px 16px 72px; }
  /* The article first; the other help pages after it. */
  .doc-nav { order: 2; position: static; display: flex; flex-wrap: wrap; gap: 6px; max-height: none; padding-top: 24px; border-top: 1px solid var(--line); }
  .doc-nav p { width: 100%; margin: 8px 0 2px; }
  .doc-nav a { border: 1px solid var(--line); }
  .prose .toc { columns: 1; }
}
@media (max-width: 420px) {
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-echo-track, .marquee-track, .hero-letter, .hero-flyer, .hero-flyer img, .ping::after, .hello-word, .cam img { animation: none !important; }
  .su-bar, .su-ci { transition: none; }
  .conn-grid i { opacity: 1; transform: none; }
  .hello-word[data-pos="current"] { -webkit-mask-image: none; mask-image: none; }
}
