/* ==========================================================================
   Muster — landing page
   One story, top to bottom: the pile → how it clashes → see it, sort it →
   try it → where your data goes → what a cleanup does → what's next → join.
   Colours and type come from the Muster product (neutral greys, electric
   yellow, Geist). One surface for all art: a dotted canvas.
   ========================================================================== */

:root {
  /* product palette */
  --yellow: #f4f83b;
  --yellow-deep: #e0e709;
  --olive: #a9ad00;
  --green: #76ef6b;
  --blue: #009ff0;
  --red: #ff5263;
  --amber: #ff9d2e;
  --grey-dot: #a3a3a3;

  /* neutrals (the product's --neutral scale) */
  --ink: #202020;
  --ink-2: #252525;
  --muted: #6c6c6c;
  --muted-2: #969696;
  --line: rgb(0 0 0 / .08);
  --line-2: rgb(0 0 0 / .12);
  --surface: #fafafa;
  --surface-2: #f0f0f0;
  --surface-3: #dedede;
  --canvas: #f5f5f5;
  --dot: rgb(0 0 0 / .14);
  --bg: #ffffff;
  --dark: #1c1c1c;

  --f-display: "IBM Plex Sans Condensed", "Geist", system-ui, sans-serif;
  --f-body: "Geist", system-ui, -apple-system, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --f-mac: -apple-system, BlinkMacSystemFont, "Geist", system-ui, sans-serif;

  --pad: 40px;
  --max: 1200px;
  --nav-h: 60px;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);

  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.5 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
code, kbd { font-family: var(--f-mono); font-size: .92em; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.problem :focus-visible { outline-color: var(--yellow); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 140px 0; }

/* the one art surface */
.canvas {
  background-color: var(--canvas);
  background-image: radial-gradient(var(--dot) 1px, transparent 1.3px);
  background-size: 16px 16px;
  background-position: -4px -4px;
}

/* ── type ─────────────────────────────────────────────────────────── */
.h-hero, .h-section, .h-cta {
  font-family: var(--f-display);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
}
.h-hero { font-size: 68px; line-height: 1.02; letter-spacing: -.04em; }
.h-section { font-size: 48px; line-height: 1.08; letter-spacing: -.035em; }
.h-cta { font-size: 76px; line-height: 1; letter-spacing: -.045em; }
.lede, .sub { color: var(--muted); margin: 0; text-wrap: pretty; }
.lede { font-size: 18px; line-height: 1.5; }
.sub { font-size: 16px; line-height: 1.55; max-width: 560px; }
.sub code { font-size: .88em; background: var(--surface-2); padding: 1px 5px; border-radius: 4px; color: var(--ink); }

/* section label = the product's yellow label chip */
.eyebrow {
  align-self: flex-start;
  display: inline-block;
  font: 500 12px/1 var(--f-body);
  padding: 5px 7px;
  border-radius: 5px;
  background: var(--yellow);
  color: var(--ink-2);
  margin-bottom: 18px;
}
.head { display: flex; flex-direction: column; margin-bottom: 64px; }
.head .h-section + .sub { margin-top: 18px; }
.head--center { align-items: center; text-align: center; }
.head--center .eyebrow { align-self: center; }
.head--center .sub { max-width: 600px; }
.head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 32px; }
.head--split .sub { max-width: 420px; }

/* ── buttons ─────────────────────────────────────────────────────── */
.btns { display: flex; gap: 14px; flex-wrap: wrap; }
/* Pills with a top-lit gradient, a 1px top highlight, a warm edge and a soft
   drop that deepens on hover. No text-shadow: embossed dark text looks blurry
   on yellow. Pills want a little more side padding than rectangles. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 550 14px/1 var(--f-body); white-space: nowrap; cursor: pointer;
  box-shadow: var(--ring, 0 0 #0000);
  transition: filter .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .16s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 0; box-shadow: var(--ring, 0 0 #0000), 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.btn--primary {
  --ring: inset 0 1px 0 rgb(255 255 255 / .75), 0 0 0 1px rgb(110 105 0 / .2), 0 1px 2px rgb(60 55 0 / .12), 0 8px 18px -8px rgb(0 0 0 / var(--lift, .18));
  background: linear-gradient(#f3f76f 0%, #edf12f 60%, #e7ec24 100%);
  color: var(--ink);
}
.btn--soft {
  --ring: 0 0 0 1px rgb(0 0 0 / .1), 0 1px 2px rgb(0 0 0 / .06), 0 4px 10px -4px rgb(0 0 0 / var(--lift, .1));
  background: #fff; color: var(--ink);
}
.btn--ghost { background: transparent; color: var(--muted); }
.btn--sm { height: 34px; padding: 0 16px; font-size: 13px; }
.btn--lg { height: 50px; padding: 0 28px; font-size: 15.5px; }
.btn:disabled { opacity: .6; cursor: progress; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover:not(:disabled) { filter: brightness(1.04); --lift: .24; }
  .btn--soft:hover { background: var(--canvas); --lift: .14; }
  .btn--ghost:hover { color: var(--ink); }
}

/* ── nav ─────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  height: var(--nav-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 500 15.5px/1 var(--f-body); letter-spacing: -.01em; }
.brand__mark { display: inline-block; flex: none; width: 22px; height: 22px; border-radius: 6px; background: url(assets/favicon.svg) center / cover no-repeat; }
.nav__links { display: flex; gap: 28px; font-size: 13.5px; }
.nav__links a { color: var(--muted); transition: color .2s ease; }
.nav__right { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--ink); } }
.nav__burger { display: none; width: 36px; height: 36px; border: 0; background: none; padding: 0; position: relative; cursor: pointer; }
.nav__burger span { position: absolute; left: 8px; right: 8px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease-out), top .25s var(--ease-out); }
.nav__burger span:first-child { top: 14px; }
.nav__burger span:last-child { top: 21px; }
.nav.is-open .nav__burger span:first-child { top: 17.5px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 17.5px; transform: rotate(-45deg); }
.nav__sheet { display: none; }

/* ── 1. hero ─────────────────────────────────────────────────────── */
.hero { position: relative; }
.hero__copy { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 88px; padding-bottom: 64px; }
.hero__kicker { margin: 0 0 26px; display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.hero__kicker .logo { width: 15px; height: 15px; }
.hero__works { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 13px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.hero__works .agent { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); font-weight: 500; }
/* the hero token (shared engine: assets/token.js, after graphicalui.com): a pill shorter than
   the line, a sticker larger than the pill, a word that morphs. Width = paddings + sticker +
   the label's measured width (--label-w, in em, set by the engine). */
.token {
  --pad-s: .14em; --pad-e: .36em;
  --art-scale: 1.32; --art-w: calc(.94em * var(--art-scale)); --inset: calc(var(--art-w) + .14em);
  position: relative; isolation: isolate; display: inline-block; vertical-align: baseline;
  width: calc(var(--pad-s) + var(--inset) + var(--label-w, 4em) + var(--pad-e));
  padding: 0 var(--pad-e) 0 var(--pad-s); border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: inherit; color: inherit; letter-spacing: inherit; line-height: inherit; text-align: left; white-space: nowrap;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.token::before {
  content: ""; position: absolute; inset-inline: 0; top: 50%; z-index: -1; height: calc(1.1em + 2px);
  border-radius: inherit; transform: translateY(calc(-50% + .045em + 1px)); background: var(--surface-2);
  transition: background-color .18s ease, box-shadow .18s ease;
}
@media (hover: hover) and (pointer: fine) { .token:hover::before { background: var(--surface-3); } }
.token:active::before { box-shadow: inset 0 0 0 1px var(--line-2); }
.token:focus-visible { outline: 0; }
.token:focus-visible::before { outline: 2px solid var(--ink); outline-offset: 4px; }
.token__icon { position: absolute; top: 0; bottom: 0; left: var(--pad-s); width: var(--art-w); pointer-events: none; }
.token__layer { position: absolute; inset: 0; transform-origin: 50% calc(50% + .045em); }
.token__art {
  position: absolute; left: 0; top: calc(50% + .045em); width: .94em; height: .94em;
  transform: translateY(-50%) scale(var(--art-scale)); transform-origin: 0 50%;
  filter: drop-shadow(0 .02em .03em rgb(0 0 0 / .12));
}
.token__art svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* the word's window: a longer word can't paint past the pill while the width catches up */
.token__text { position: absolute; top: 0; bottom: 0; left: calc(var(--pad-s) + var(--inset)); right: var(--pad-e); white-space: nowrap; overflow-x: clip; pointer-events: none; }
.token__morph { position: relative; display: inline-block; white-space: pre; }
.token__morph > span { display: inline-block; white-space: pre; }
/* every option, laid out once to measure its width (in em) */
.token__measure { position: absolute; left: 0; top: 0; width: 0; height: 0; overflow: hidden; visibility: hidden; pointer-events: none; white-space: pre; }
.token__measure > span { display: block; width: max-content; }
.token__measure span span { display: inline-block; }
.hero .h-hero { line-height: 1.12; }
.br-m { display: none; }
.tag { display: inline-block; font: 500 12px/1 var(--f-body); padding: 5px 8px; border-radius: 6px; background: var(--yellow); color: var(--ink); }
.hero .h-hero { max-width: 980px; }
.hero .lede { max-width: 600px; margin-top: 24px; }
.hero .btns { justify-content: center; margin-top: 34px; }
.hero__facts { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: 13.5px; color: var(--muted); }
.hero__facts li { position: relative; padding-left: 22px; }
.hero__facts li::before { content: ""; position: absolute; left: 0; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; border-radius: 50%; background: var(--surface-2); }
.hero__facts li::after { content: ""; position: absolute; left: 4.6px; top: 50%; margin-top: -2.6px; width: 5.5px; height: 2.8px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }

.hero__stage { position: relative; height: min(780px, 82vh); min-height: 520px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero__shot {
  position: absolute; left: 50%; bottom: 0; z-index: 2;
  width: min(1320px, calc(100% - 2 * var(--pad)));
  transform: translate(-50%, var(--shot-y, 46%));
  will-change: transform;
}

/* swarm: skills scattered across the canvas, filed into folders on scroll */
.swarm { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.sw { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
.sw__in {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  height: 30px; padding: 0 11px; border-radius: 8px;
  background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 6px 16px -8px rgb(0 0 0 / .18);
  font: 400 12.5px/1 var(--f-mono);
  transform-origin: 50% 70%;
  /* in: a springy scale-up while the blur clears; the tag lands a beat later */
  --d: calc(var(--i) * 30ms + 200ms);
  animation: sw-pop .5s cubic-bezier(.34, 1.45, .64, 1) var(--d) both, sw-fade .32s var(--ease-out) var(--d) both;
}
.sw__in .sw__tag { animation: sw-tag .45s cubic-bezier(.34, 1.6, .64, 1) calc(var(--d) + 140ms) both; }
/* out: quicker than in, shrinks and lifts away while it blurs */
.sw.is-out .sw__in { animation: sw-out .22s cubic-bezier(.55, 0, 1, .45) forwards; }
.sw__in .dot { width: 7px; height: 7px; }
.sw--label .sw__in { background: var(--yellow); box-shadow: 0 0 0 1px rgb(0 0 0 / .04), 0 6px 16px -8px rgb(80 80 0 / .4); font-family: var(--f-body); font-weight: 500; }
.sw__tag { font: 500 10px/1 var(--f-body); font-style: normal; padding: 3px 5px; border-radius: 4px; margin-left: 1px; letter-spacing: 0; }
.sw__tag--new { background: var(--yellow); color: var(--ink); }
.sw__tag--conflict { background: rgb(255 82 99 / .14); color: #c22b3b; }
.sw__tag--copy, .sw__tag--vague { background: rgb(255 157 46 / .16); color: #a85a00; }
.sw__tag--unused, .sw__tag--old { background: var(--surface-2); color: var(--muted); }
.sw__tag--plugin { background: rgb(0 159 240 / .12); color: #0070aa; }
.sw__tag--codex { background: var(--ink); color: #fff; }
@keyframes sw-pop { from { transform: translateY(8px) scale(.72); } }
@keyframes sw-fade { from { opacity: 0; filter: blur(4px); } }
@keyframes sw-tag { from { opacity: 0; transform: scale(.4); } }
@keyframes sw-out { to { opacity: 0; transform: translateY(-6px) scale(.8); filter: blur(3px); } }

/* the Mac app mock (scaled from a 1180px design) */
.app {
  --s: 1;
  width: 100%;
  aspect-ratio: 1180 / 640;
  border-radius: 12px 12px 0 0;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .07), 0 30px 70px -24px rgb(0 0 0 / .28);
  overflow: hidden;
  position: relative;
}
.app__inner {
  width: 1180px; height: 640px; transform: scale(var(--s)); transform-origin: 0 0;
  display: grid; grid-template-columns: 228px 1fr;
  font: 500 13px/20px var(--f-body); color: var(--ink-2);
}
.app__side { background: var(--surface); border-right: 1px solid var(--line); padding: 10px 10px 0; position: relative; }
.app__search { margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; height: 28px; padding: 0 8px; border-radius: 7px; background: var(--surface-2); color: var(--muted-2); font-size: 12.5px; }
.app__search kbd { font-size: 10px; background: var(--yellow); color: var(--ink); border-radius: 4px; padding: 0 4px; line-height: 16px; }
.app__nav, .app__list { list-style: none; margin: 0; padding: 0; }
.app__nav li, .app__list li { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 6px; border-radius: 6px; font-size: 12.5px; transition: background-color .8s var(--ease-out); }
.app__list li.is-landed { background: rgb(244 248 59 / .55); transition-duration: 0s; }
.app__nav li.is-on { background: var(--surface-2); }
.app__nav em, .app__group em { font-style: normal; color: var(--muted-2); font-size: 11px; margin-left: auto; }
.app__group { margin: 16px 6px 4px; font-size: 11.5px; color: var(--muted); }
.app__group em { margin-left: 4px; }
.app__list li.is-sub { padding-left: 24px; }
.app__list small { color: var(--muted-2); font-size: 10.5px; margin-left: -3px; }
.app__list .dot, .app__list .pair { margin-left: auto; margin-right: 4px; }
.app__user { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.app__avatar { width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; background: var(--yellow); }
.app__avatar .ico { width: 12px; height: 12px; opacity: 1; }
.app__agents { margin-left: auto; margin-right: 4px; display: flex; gap: 6px; }
.app__agents .logo { width: 13px; height: 13px; }
.app__main { display: flex; flex-direction: column; min-width: 0; }
.app__bar { display: flex; justify-content: space-between; align-items: center; height: 40px; padding: 0 16px; color: var(--muted); font-size: 12px; }
.app__range { display: flex; gap: 2px; color: var(--ink); }
.app__range span { padding: 2px 8px; border-radius: 6px; }
.app__range .is-on { background: var(--surface-2); }
.app__body { width: 640px; margin: 28px auto 0; }
.app__h { font: 500 22px/1.2 var(--f-body); letter-spacing: -.01em; margin: 0 0 22px; }
.app__stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 26px; }
.app__stats div { border-left: 1px solid var(--line-2); padding: 0 16px; display: flex; flex-direction: column; }
.app__stats div:first-child { border-left: 0; padding-left: 0; }
.app__stats span { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.app__stats strong { font: 500 26px/1.3 var(--f-body); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.app__rows { list-style: none; margin: 0 0 24px; padding: 0; }
.app__rows li { display: flex; justify-content: space-between; align-items: center; min-height: 40px; border-top: 1px solid var(--line); font-size: 12px; }
.app__rows li:first-child { border-top: 0; }
.app__btn { background: var(--surface-2); border-radius: 6px; font-size: 11.5px; padding: 2px 8px; line-height: 18px; }
.app__sub { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 4px; }
.app__sub small { font-size: 11.5px; color: var(--muted); }
.app__top { width: 100%; border-collapse: collapse; font-size: 12px; }
.app__top th { text-align: left; font-weight: 400; font-size: 11px; color: var(--muted); padding: 8px 0 6px; }
.app__top td { padding: 8px 0; border-top: 1px solid var(--line); color: var(--muted); }
.app__top td:first-child { color: var(--ink); }
.app__top td:nth-child(2) { color: var(--ink); font-variant-numeric: tabular-nums; }
.app__top th:nth-child(2), .app__top td:nth-child(2) { text-align: right; padding-right: 28px; width: 1%; white-space: nowrap; }
.app__top code { font-size: 11.5px; }

/* tiny inline icons */
.ico { width: 13px; height: 13px; display: inline-block; flex: none; background: currentColor; opacity: .8;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ico--doc    { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3C/svg%3E"); }
.ico--globe  { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20'/%3E%3C/svg%3E"); }
.ico--grid   { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E"); }
.ico--heart  { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M2 9.5a5.5 5.5 0 0 1 9.6-3.7.6.6 0 0 0 .8 0A5.5 5.5 0 0 1 22 9.5c0 2.3-1.5 4-3 5.5l-5.5 5.3a2 2 0 0 1-3 0L5 15c-1.5-1.5-3-3.2-3-5.5'/%3E%3C/svg%3E"); }
.ico--plus   { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.ico--folder { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.7-.9l-.8-1.2A2 2 0 0 0 7.9 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z'/%3E%3C/svg%3E"); }
.ico--box    { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M11 21.7a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.7l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.7z'/%3E%3Cpath d='M12 22V12M3.3 7l8.7 5 8.7-5'/%3E%3C/svg%3E"); }
.ico--tray   { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2'/%3E%3Cpath d='M5.5 5.1 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.5-6.9A2 2 0 0 0 16.8 4H7.2a2 2 0 0 0-1.7 1.1z'/%3E%3C/svg%3E"); }
.ico--laptop { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='4' y='5' width='16' height='11' rx='1.5'/%3E%3Cpath d='M2 19h20'/%3E%3C/svg%3E"); }
.ico--search { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); }

.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; flex: none; }
.dot--red { background: var(--red); }
.dot--amber { background: var(--amber); }
.dot--grey { background: var(--grey-dot); }
.dot--green { background: var(--green); }
/* two overlapping dots: more than one issue in a folder */
.pair { display: inline-block; flex: none; width: 11px; height: 6px; position: relative; }
.pair::before, .pair::after { content: ""; position: absolute; top: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.pair::before { left: 0; opacity: .55; }
.pair::after { right: 0; }
.pair--amber { --c: var(--amber); }
.pair--red { --c: var(--red); }
.pair--grey { --c: var(--grey-dot); }

/* simple-icons rendered as masks */
.logo { display: inline-block; width: 20px; height: 20px; flex: none; background: currentColor;
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.logo--claude { background: #d97757; }

/* ── 2. problem: sticky, scroll-scrubbed ─────────────────────────── */
.problem { position: relative; height: 240vh; background: var(--dark); color: #fff; }
.problem__sticky { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); display: grid; place-items: center; overflow: hidden; }
.problem__text { max-width: 640px; margin: 0; padding: 0 24px; font: 400 34px/1.25 var(--f-display); letter-spacing: -.02em; }
.problem__text .w { opacity: .16; transition: opacity .5s var(--ease-out); }
.problem__text .w.is-on { opacity: 1; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 12px 0 9px; border-radius: 999px;
  background: #fff; color: var(--ink); font: 500 12px/1 var(--f-body); white-space: nowrap;
  box-shadow: 0 10px 30px rgb(0 0 0 / .35);
  transition: opacity .45s var(--ease-out), translate .45s var(--ease-out);
}
/* with JS, chips pile up as the text scrubs */
:where(html:not(.no-js)) .chip:not(.is-on) { opacity: 0; translate: 0 10px; }
.chip code { font-size: 11.5px; }
.chip__warn { width: 13px; height: 12px; flex: none; background: var(--amber); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.chip__warn--red { background: var(--red); }
.chip__warn--grey { background: var(--grey-dot); }
/* top band, two mid-side chips on wide screens, bottom band */
.chip--1 { top: 7%; left: 7%; }
.chip--2 { top: 9%; right: 9%; }
.chip--5 { top: 18%; left: 15%; }
.chip--6 { top: 19%; right: 4%; }
.chip--4 { top: 45%; left: 3%; }
.chip--10 { top: 53%; right: 3%; }
.chip--3 { top: 78%; left: 5%; }
.chip--7 { top: 80%; right: 12%; }
.chip--9 { top: 89%; left: 18%; }
.chip--8 { top: 89%; right: 5%; }

/* ── 3. how it works: four steps ─────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 120px; }
.step { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 72px; align-items: center; }
.step:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
.step:nth-child(even) .step__copy { order: 2; }
.step__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); font: 500 14px/1 var(--f-body); margin-bottom: 22px; }
.step__title { margin: 0 0 14px; font: 400 38px/1.08 var(--f-display); letter-spacing: -.03em; text-wrap: balance; }
.step__text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.step__art { position: relative; min-height: 440px; border-radius: 20px; padding: 40px; display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }

/* step 1: one line installs it (same terminal as /graphical/'s scan) */
.shell {
  display: grid; grid-template-rows: 32px 1fr;
  width: 100%; max-width: 560px; height: 300px; border-radius: 10px; overflow: hidden;
  background: #0c0c0c; color: #d4d4d4; text-align: left;
  font: 400 13px/20px var(--f-mono);
  box-shadow: 0 40px 80px -24px #00000061, 0 12px 36px -8px #0000003d;
}
.shell__bar { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; background: #292929; font: 500 12px/1 system-ui, -apple-system, sans-serif; color: #929292; }
.shell__lights { display: flex; gap: 8px; padding-left: 12px; }
.shell__lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.shell__lights i:nth-child(2) { background: #febc2e; }
.shell__lights i:nth-child(3) { background: #28c840; }
.shell__title { text-align: center; }
.shell__body { padding: 12px 16px; }
.shell__body p { margin: 0; min-height: 20px; white-space: pre-wrap; }
.shell__body .shell__gap { margin-top: 20px; }
.shell__spin { display: none; }
.shell__cursor { display: inline-block; width: 1ch; height: 1em; vertical-align: -.15em; background: #d4d4d4; }
.shell .t-dir { color: #70c6cb; }
.shell .t-dim { color: #929292; }
.shell .t-ok { color: #54c56a; }
.shell .t-strong { color: #fff; }
/* the script: lines wait for their moment, the spinner only shows while it spins */
.shell.is-armed [data-at]:not(.is-in) { display: none; }
.shell.is-armed .shell__spin.is-in:not(.is-out) { display: block; }

/* step 2: four places → one scan */
.find { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); align-items: center; width: 100%; max-width: 640px; }
.find__src { display: flex; flex-direction: column; gap: 12px; }
.src { position: relative; background: #fff; border-radius: 12px; padding: 12px 54px 12px 14px; box-shadow: 0 0 0 1px var(--line), 0 8px 20px -12px rgb(0 0 0 / .2); }
.src__path { margin: 0; display: flex; align-items: center; gap: 7px; font: 400 12px/1.3 var(--f-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.src__path .logo { width: 13px; height: 13px; }
.src__meta { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.src__n { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font: 400 26px/1 var(--f-display); letter-spacing: -.02em; }
.find__wires { width: 44px; height: 100%; align-self: stretch; overflow: visible; }
.find__wires path { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.is-playing .find__wires path { animation: flow 1s linear 3; }
@keyframes flow { to { stroke-dashoffset: -16; } }

.term { width: 100%; border-radius: 12px; background: #1b1b1b; color: #d6d6d6; box-shadow: 0 0 0 1px rgb(0 0 0 / .5), 0 28px 50px -22px rgb(0 0 0 / .5); overflow: hidden; }
.term__bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #242424; border-bottom: 1px solid rgb(255 255 255 / .06); }
.term__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a3a; }
.term__bar span { margin-left: auto; margin-right: auto; padding-right: 33px; font: 400 10.5px/1 var(--f-body); color: #7a7a7a; }
.term__body { padding: 14px 16px 16px; font: 400 12px/1 var(--f-mono); display: flex; flex-direction: column; gap: 11px; }
.term__body p { margin: 0; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.term__cmd { color: #fff; }
.term__cmd b { color: var(--yellow); font-weight: 400; }
.term__body .ok { width: 13px; height: 13px; border-radius: 3px; background: var(--green); display: grid; place-items: center; flex: none; }
.term__body .ok::after { content: ""; width: 6px; height: 3px; border-left: 1.4px solid var(--ink); border-bottom: 1.4px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.term__body .warn { width: 13px; height: 12px; flex: none; background: var(--amber); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.term__body .warn--red { background: var(--red); }
.term__body .warn--grey { background: var(--grey-dot); }
:where(html:not(.no-js)) .term__body p:not(.term__cmd) { opacity: 0; transform: translateY(3px); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
.is-playing .term__body p { opacity: 1; transform: none; }
.is-playing .term__body p:nth-child(2) { transition-delay: .45s; }
.is-playing .term__body p:nth-child(3) { transition-delay: .9s; }
.is-playing .term__body p:nth-child(4) { transition-delay: 1.35s; }
.is-playing .term__body p:nth-child(5) { transition-delay: 1.8s; }

/* step 4: the daily report */
.report { width: min(500px, 100%); background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgb(0 0 0 / .3); overflow: hidden; }
.report__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; }
.report__title { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; }
.report__title .brand__mark { width: 18px; height: 18px; border-radius: 5px; }
.report__time { font-size: 12px; color: var(--muted); }
.report__sum { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0 16px 14px; font-size: 12.5px; border-bottom: 1px solid var(--line); }
.report__sum span { display: inline-flex; align-items: center; gap: 6px; }
.report__list { list-style: none; margin: 0; padding: 0; }
.report__list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; }
.report__list li + li { border-top: 1px solid var(--line); }
.report__list p { margin: 0; font-size: 13px; }
.report__list code { font-size: 12px; }
.report__list small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
:where(html:not(.no-js)) .report__list li { opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.is-playing .report__list li { opacity: 1; transform: none; }
.is-playing .report__list li:nth-child(2) { transition-delay: .07s; }
.is-playing .report__list li:nth-child(3) { transition-delay: .14s; }
.tag--red { background: rgb(255 82 99 / .14); color: #c22b3b; }
.tag--amber { background: rgb(255 157 46 / .16); color: #a85a00; }
.report .tag:not(.tag--red):not(.tag--amber) { background: var(--surface-2); color: var(--muted); }
.report .tag { font-size: 11px; font-style: normal; white-space: nowrap; }

/* step 5: compare and fix */
.cmp { width: min(540px, 100%); background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgb(0 0 0 / .3); }
.cmp__q { margin: 0 0 14px; display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; line-height: 1.35; }
.cmp__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cmp__skill { border-radius: 11px; padding: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s var(--ease-out), background-color .4s var(--ease-out); }
:where(html:not(.no-js)) .cmp__fix { opacity: 0; transform: translateY(4px); transition: opacity .4s var(--ease-out) .5s, transform .4s var(--ease-out) .5s; }
.is-playing .cmp__fix { opacity: 1; transform: none; }
.cmp__name { margin: 0 0 10px; display: flex; flex-direction: column; gap: 2px; }
.cmp__name code { font-size: 12px; }
.cmp__name small { font-size: 11px; color: var(--muted); }
.cmp__body { margin: 0; font: 400 11.5px/1.65 var(--f-mono); color: #555; }
.hl { padding: 1px 3px; border-radius: 3px; color: var(--ink); }
.hl--g { background: rgb(118 239 107 / .4); }
.hl--r { background: rgb(255 82 99 / .2); }
.cmp__fix { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: rgb(118 239 107 / .22); font-size: 12.5px; line-height: 1.5; }
.cmp__fix b { display: block; font-weight: 500; margin-bottom: 2px; }
.cmp__fix code { font-size: 11.5px; }
.cmp__fix q { display: block; margin-top: 4px; font: 400 11.5px/1.55 var(--f-mono); quotes: none; }
.cmp__trigger { margin: -6px 0 12px; font-size: 12.5px; color: #a3202f; }
.cmp__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mbtn { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; background: var(--surface-2); font-size: 12.5px; white-space: nowrap; }
.mbtn--dark { background: var(--ink); color: #fff; }
.mbtn--ghost { background: transparent; color: var(--muted); }

/* step 3: flat list → folders */
.sort { display: grid; grid-template-columns: minmax(0, .8fr) 40px minmax(0, 1.2fr); align-items: center; width: 100%; max-width: 620px; }
.sort__cap { margin: 0 0 10px; font-size: 12px; color: var(--muted); }
.sort__flat ul { list-style: none; margin: 0; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); font: 400 11.5px/1.95 var(--f-mono); color: var(--muted-2); }
.sort__flat li:last-child { color: var(--muted); font-family: var(--f-body); }
.sort__arrow { justify-self: center; width: 22px; height: 1.5px; background: var(--ink); position: relative; }
.sort__arrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); transform: translateY(-50%) rotate(45deg); }
.sort__tree { padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 44px -24px rgb(0 0 0 / .25); }
.sort__tree .sort__cap { margin-bottom: 6px; }
.tree, .tree ul { list-style: none; margin: 0; padding: 0; }
.tree ul { padding-left: 18px; margin-left: 6px; border-left: 1px solid var(--line-2); }
.tree li { font: 400 11.5px/1.9 var(--f-mono); color: #4a4a4a; }
.tree__f { margin: 0; display: flex; align-items: center; gap: 7px; font: 500 12.5px/2 var(--f-body); color: var(--ink); }
.tree__f em { margin-left: auto; font-style: normal; font-weight: 400; font-size: 11.5px; color: var(--muted-2); }
.tree__f.is-closed { color: var(--ink); }
.tree li.is-new { display: flex; align-items: center; gap: 6px; color: var(--ink); }
:where(html:not(.no-js)) .tree li.is-new { opacity: 0; transform: translateX(-6px); transition: opacity .4s var(--ease-out) .6s, transform .4s var(--ease-out) .6s; }
.is-playing .tree li.is-new { opacity: 1; transform: none; }
.tree li.tree__agent { display: flex; align-items: center; gap: 6px; }
.tree__agent .logo { width: 11px; height: 11px; opacity: .7; }

/* ── 5. try it: the menu bar prototype ───────────────────────────── */
.demo { padding-top: 40px; }
.desk {
  position: relative; height: 720px; margin: 0; border-radius: 20px; overflow: hidden;
  background: radial-gradient(120% 90% at 0% 0%, #f7e3d3 0%, transparent 60%), radial-gradient(100% 100% at 100% 100%, #c6c3f0 0%, transparent 60%), linear-gradient(135deg, #f1e4ea, #dcd8f3);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -50px rgb(40 30 80 / .5);
  font-family: var(--f-mac); color: #1d1d1f;
}
.mbar { position: relative; z-index: 2; display: flex; align-items: center; gap: 18px; height: 30px; padding: 0 12px; background: rgb(255 255 255 / .45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 13px; white-space: nowrap; }
.mbar__apple { width: 12px; height: 14px; background: #1d1d1f; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 13c0-2.6 2.1-3.8 2.2-3.9-1.2-1.8-3.1-2-3.8-2-1.6-.2-3.1.9-3.9.9s-2-.9-3.4-.9C6.4 7.2 4.7 8.2 3.8 9.9c-1.9 3.3-.5 8.1 1.3 10.8.9 1.3 2 2.7 3.4 2.7 1.4-.1 1.9-.9 3.5-.9s2.1.9 3.5.8c1.4 0 2.4-1.3 3.3-2.6 1-1.5 1.4-3 1.5-3.1-.1 0-2.9-1.1-3.3-4.6ZM14.4 5.3c.7-.9 1.2-2.1 1.1-3.3-1 0-2.3.7-3 1.6-.7.8-1.3 2-1.1 3.2 1.1.1 2.3-.6 3-1.5Z'/%3E%3C/svg%3E"); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.mbar__app { font-weight: 600; }
.mbar__menu { display: flex; gap: 18px; }
.mbar__right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.mbar__muster { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; font: 500 13px/1 var(--f-mac); font-variant-numeric: tabular-nums; cursor: pointer; }
.mbar__muster.is-on { background: rgb(0 0 0 / .12); }
.mbar__glyph { width: 14px; height: 14px; background: currentColor; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='4'/%3E%3Cpath d='M16 9 12.6 3h6.8zM16 23l3.4 6h-6.8zM9 16 3 19.4v-6.8zM23 16l6-3.4v6.8z'/%3E%3C/svg%3E"); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.mbar__ico { width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.mbar__ico--wifi { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M2 8.8a15 15 0 0 1 20 0M5 12.4a10 10 0 0 1 14 0M8.5 15.8a5 5 0 0 1 7 0'/%3E%3Ccircle cx='12' cy='19.5' r='1.2' fill='black'/%3E%3C/svg%3E"); }
.mbar__ico--search { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); }
.mbar__time { font-variant-numeric: tabular-nums; }

/* guided tour, floating on the left of the desktop */
.guide { position: absolute; left: 40px; top: 50%; transform: translateY(-50%); z-index: 1; width: 290px; padding: 18px; border-radius: 16px; background: rgb(255 255 255 / .62); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 0 0 1px rgb(255 255 255 / .6), 0 20px 50px -24px rgb(40 30 80 / .35); font-family: var(--f-body); }
.guide__title { margin: 0 0 12px; font: 400 22px/1.1 var(--f-display); letter-spacing: -.02em; }
.guide__btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; margin-bottom: 6px; border: 0; border-radius: 999px; background: #fff; text-align: left; font-size: 14px; cursor: pointer; box-shadow: 0 0 0 1px var(--line); transition: background-color .15s ease, transform .16s var(--ease-out); }
.guide__btn span { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); font-size: 12px; font-weight: 500; transition: background-color .15s ease; }
.guide__btn:active { transform: scale(.98); }
.guide__btn.is-done span { background: var(--ink); color: var(--yellow); }
.guide__btn.is-next span { background: var(--yellow); }
@media (hover: hover) and (pointer: fine) { .guide__btn:hover { background: var(--surface); } }
.guide__note { margin: 10px 2px 0; font-size: 12px; color: var(--muted); }

.pop {
  position: absolute; right: 12px; top: 36px; z-index: 2; width: 304px; max-height: calc(100% - 50px);
  display: flex; flex-direction: column;
  border-radius: 14px; background: rgb(246 246 246 / .88); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 0 0 .5px rgb(0 0 0 / .2), inset 0 0 0 .5px rgb(255 255 255 / .6), 0 24px 60px -16px rgb(40 30 80 / .4);
  font-size: 13px; line-height: 1.25;
  transform-origin: 85% 0;
  transition: opacity .18s ease, transform .18s var(--ease-out);
}
.pop.is-closed { opacity: 0; transform: scale(.97) translateY(-4px); pointer-events: none; }
.pop__view { overflow-y: auto; padding: 14px 10px 8px; overscroll-behavior: contain; }
/* macOS-style overlay scrollbar: thin pill thumb, no track */
.pop__view::-webkit-scrollbar { width: 11px; }
.pop__view::-webkit-scrollbar-track { background: transparent; margin-block: 8px; }
.pop__view::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 999px; background: rgb(0 0 0 / .2) padding-box; }
.pop__view::-webkit-scrollbar-thumb:hover { background-color: rgb(0 0 0 / .36); }
@supports not selector(::-webkit-scrollbar) {
  .pop__view { scrollbar-width: thin; scrollbar-color: rgb(0 0 0 / .2) transparent; }
}
.pop__view.is-in { animation: view-in .15s var(--ease-out); }
@keyframes view-in { from { opacity: 0; transform: translateX(var(--dx, 4px)); } }
.pop p { margin: 0; }
.pop code { font-family: var(--f-mono); font-size: 11.5px; }

.pv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 0 4px 12px; border-bottom: 1px solid rgb(0 0 0 / .08); }
.pv-big strong { display: block; font: 500 32px/1 var(--f-body); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pv-big span { font-size: 12.5px; color: #6e6e73; }
.pv-status { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; text-align: right; }
.pv-status button { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; padding: 0; font-size: 12.5px; cursor: pointer; }
.pv-status small { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: #6e6e73; }
.pv-sync { width: 11px; height: 11px; border: 1.4px solid currentColor; border-right-color: transparent; border-radius: 50%; }
.pv-week { display: grid; grid-template-columns: repeat(5, 1fr); padding: 12px 0 10px; text-align: center; font-size: 11.5px; color: #3a3a3c; }
.pv-week span { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.pv-week i { position: relative; width: 7px; height: 26px; border-radius: 4px; background: rgb(0 0 0 / .08); overflow: hidden; }
.pv-week i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--v) * 100%); border-radius: 4px; background: var(--olive); }
.pv-week .is-today i::after { background: var(--yellow-deep); }
.pv-week b { font-weight: 500; font-variant-numeric: tabular-nums; }
.pv-search { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 9px; border-radius: 7px; background: rgb(0 0 0 / .05); color: #8e8e93; margin-bottom: 6px; }
.pv-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 13px/1 var(--f-mac); color: #1d1d1f; outline: none; }
.pv-search input::placeholder { color: #8e8e93; }
.pv-search:focus-within { box-shadow: 0 0 0 2px rgb(0 0 0 / .2); }
.pv-list { list-style: none; margin: 0; padding: 0; }
.pv-sep { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgb(0 0 0 / .08); }
.pv-item { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 27px; padding: 3px 6px; border: 0; border-radius: 6px; background: none; text-align: left; font: 400 13px/1.25 var(--f-mac); color: inherit; cursor: pointer; }
.pv-item:not(:disabled):hover { background: rgb(0 0 0 / .07); }
.pv-item:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.pv-item:disabled { cursor: default; }
.pv-item .ico { opacity: .7; }
.pv-item__name { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pv-item__name small { margin-left: 6px; color: #8e8e93; font-size: 11px; }
.pv-item.is-wrap { align-items: flex-start; padding-top: 5px; padding-bottom: 5px; }
.pv-item.is-wrap .pv-item__name { white-space: normal; line-height: 1.35; }
.pv-item.is-wrap .dot, .pv-item.is-wrap .ok-ico { margin-top: 4px; }
.pv-item.is-wrap .chev { margin-top: 5px; }
.pv-item em { font-style: normal; color: #6e6e73; min-width: 16px; text-align: right; font-variant-numeric: tabular-nums; }
.pv-item.is-muted { color: #8e8e93; }
.pv-item.is-fixed .pv-item__name { color: #8e8e93; text-decoration: line-through; }
.pv-item .ok-ico { width: 14px; height: 14px; border-radius: 50%; background: var(--green); position: relative; flex: none; }
.pv-item .ok-ico::after { content: ""; position: absolute; left: 4px; top: 4.4px; width: 5px; height: 2.6px; border-left: 1.4px solid var(--ink); border-bottom: 1.4px solid var(--ink); transform: rotate(-45deg); }
.chev { width: 6px; height: 6px; border-right: 1.4px solid #8e8e93; border-top: 1.4px solid #8e8e93; transform: rotate(45deg); flex: none; margin: 0 3px 0 2px; }
.pv-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -4px 0 8px; }
.pv-back { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 8px 0 4px; border: 0; border-radius: 6px; background: none; font: 400 12.5px/1 var(--f-mac); color: #3a3a3c; cursor: pointer; }
.pv-back::before { content: ""; width: 6px; height: 6px; border-left: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor; transform: rotate(45deg); margin-left: 4px; }
.pv-back:hover { background: rgb(0 0 0 / .07); }
.pv-nav small { color: #8e8e93; font-size: 11.5px; }
.pv-title { padding: 0 6px; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.pv-sub { padding: 2px 6px 8px; color: #6e6e73; font-size: 12px; }
.pv-group { padding: 10px 6px 4px; font-size: 11.5px; font-weight: 600; color: #6e6e73; display: flex; justify-content: space-between; }
.pv-kicker { display: flex; align-items: center; gap: 6px; padding: 0 6px 6px; font-size: 12px; color: #6e6e73; }
.pv-text { padding: 6px 6px 10px; font-size: 12.5px; line-height: 1.45; color: #3a3a3c; }
.pv-block { margin: 0 4px 8px; padding: 10px; border-radius: 9px; background: rgb(255 255 255 / .75); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .06); }
.pv-block.is-keep { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pv-block__name { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px !important; }
.pv-block__name small { color: #8e8e93; font-size: 11px; }
.pv-block__line { font: 400 11.5px/1.55 var(--f-mono); color: #4a4a4a; }
.pv-block ul { margin: 0; padding: 0 0 0 16px; font-size: 12px; line-height: 1.5; color: #3a3a3c; }
.pv-new { display: inline-block; flex: none; padding: 2px 6px; border-radius: 4px; background: var(--yellow); color: var(--ink); font: 500 10.5px/1.3 var(--f-body); }
.pv-row { display: flex; align-items: center; gap: 8px; margin: 0 4px 8px; padding: 6px 6px 6px 10px; border-radius: 9px; background: rgb(255 255 255 / .75); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .06); font-size: 12.5px; }
.pv-row__label { color: #8e8e93; }
.pv-row__val { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 500; }
.pv-btn--sm { height: 26px; padding: 0 10px; font-size: 12px; border-radius: 7px; }
.pv-md { margin: 0 4px 8px; border-radius: 9px; background: #1b1b1b; color: #d6d6d6; overflow: hidden; }
.pv-md__file { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; background: #242424; font: 400 11px/1 var(--f-mono); color: #9a9a9a; }
.pv-link { border: 0; background: none; padding: 2px 4px; font: 500 11px/1 var(--f-body); color: var(--yellow); cursor: pointer; }
.pv-md pre { position: relative; margin: 0; padding: 9px 10px 12px; max-height: 150px; overflow: hidden; font: 400 11px/1.55 var(--f-mono); white-space: pre-wrap; word-break: break-word; }
.pv-md pre::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: linear-gradient(transparent, #1b1b1b); }
.pv-md__fm { color: #8a8a8a; }
.pv-sort { display: flex; align-items: center; gap: 6px; }
.pv-sort .pv-item { flex: 1; min-width: 0; }
.pv-chip { flex: none; max-width: 52%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; height: 24px; padding: 0 8px; border: 0; border-radius: 999px; background: var(--yellow); font: 500 11.5px/1 var(--f-mac); color: var(--ink); cursor: pointer; transition: transform .16s var(--ease-out); }
.pv-chip::before { content: "→ "; }
.pv-chip:active { transform: scale(.95); }
.pv-newfolder { display: flex; gap: 6px; padding: 2px 4px; }
.pv-newfolder input { flex: 1; min-width: 0; height: 26px; padding: 0 8px; border: 0; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); font: 400 12.5px/1 var(--f-mac); outline: none; }
.pv-newfolder input:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.pv-item .pv-new { margin-left: 2px; }
.pv-trigger { margin: 0 4px 8px !important; padding: 6px 8px; border-radius: 7px; background: rgb(255 82 99 / .1); color: #a3202f; font-size: 12px; }
.pv-block--fix { background: rgb(118 239 107 / .2); box-shadow: none; }
.pv-note { padding: 2px 6px 8px; font-size: 12px; line-height: 1.45; color: #6e6e73; }
.pv-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 4px 6px; }
.pv-btn { height: 30px; padding: 0 12px; border: 0; border-radius: 8px; background: rgb(0 0 0 / .07); font: 500 12.5px/1 var(--f-mac); color: inherit; cursor: pointer; transition: transform .16s var(--ease-out), background-color .15s ease; }
.pv-btn:active { transform: scale(.96); }
.pv-btn--dark { background: var(--ink); color: #fff; }
.pv-btn--dark:hover { background: #000; }
.pv-done { display: flex; gap: 8px; align-items: flex-start; margin: 4px 4px 8px !important; padding: 10px; border-radius: 9px; background: rgb(118 239 107 / .28); font-size: 12.5px; line-height: 1.45; }
.pv-done.is-new { animation: done-pop .2s var(--ease-out); }
@keyframes done-pop { from { opacity: 0; transform: translateY(4px); } }
.pv-done .ok-ico { margin-top: 1px; }
.pv-bar { flex: 1; height: 6px; border-radius: 3px; background: rgb(0 0 0 / .07); overflow: hidden; max-width: 80px; }
.pv-bar i { display: block; height: 100%; width: calc(var(--v) * 100%); background: var(--olive); border-radius: 3px; }
.pv-empty { padding: 10px 6px; color: #8e8e93; font-size: 12.5px; }

.desk__toast { position: absolute; left: 50%; bottom: 22px; z-index: 3; transform: translateX(-50%); margin: 0; max-width: calc(100% - 40px); padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font: 400 13px/1.35 var(--f-body); box-shadow: 0 16px 40px -16px rgb(0 0 0 / .5); animation: toast-in .25s var(--ease-out); }
.desk__toast code { color: var(--yellow); font-size: 12px; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 6px); } }
.desk__toast.is-leaving { animation: toast-out .15s var(--ease-out) forwards; }
@keyframes toast-out { to { opacity: 0; transform: translate(-50%, 4px); } }

/* ── 6. privacy: what moves where ────────────────────────────────── */
.privacy { padding-top: 60px; }
.flow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr) 110px minmax(0, 1fr); grid-template-rows: auto 70px auto; margin: 0 0 12px; }
.flow__mac { grid-column: 1 / -1; grid-row: 1; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line-2); }
.flow__label { grid-column: 1 / -1; grid-row: 1; align-self: start; justify-self: start; z-index: 1; margin: 20px 22px; display: inline-flex; align-items: center; gap: 7px; font-weight: 500; font-size: 13px; }
.flow__label .ico { width: 15px; height: 15px; opacity: 1; }
.fnode { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 14px 30px -18px rgb(0 0 0 / .25); }
.fnode b { font-weight: 500; font-size: 15px; }
.fnode small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.fnode__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--surface-2); margin-bottom: 8px; }
.fnode__ico .ico { width: 15px; height: 15px; }
.fnode__ico .brand__mark { width: 22px; height: 22px; }
.fnode__icos { display: flex; gap: 6px; margin-bottom: 8px; }
.fnode__icos .fnode__ico { margin-bottom: 0; }
.fnode__ico .logo { width: 18px; height: 18px; }
.fnode.is-muster { box-shadow: 0 0 0 2px var(--ink), 0 14px 30px -18px rgb(0 0 0 / .25); }
.fnode.is-muster .fnode__ico { background: none; }
.fnode.is-none { background: var(--surface); box-shadow: inset 0 0 0 1.5px rgb(255 82 99 / .45); border: 0; }
.fnode.is-none b { color: var(--muted); text-decoration: line-through; text-decoration-color: rgb(255 82 99 / .7); }
.fnode.is-none small { color: #c22b3b; }
.f-skills, .f-muster, .f-claude { grid-row: 1; margin: 68px 22px 32px; }
.f-skills { grid-column: 1; } .f-muster { grid-column: 3; } .f-claude { grid-column: 5; }
.farrow { grid-row: 1; position: relative; z-index: 1; align-self: center; height: 20px; margin-top: 36px;
  background: linear-gradient(var(--ink), var(--ink)) center / calc(100% - 4px) 1.5px no-repeat; }
.f-a1 { grid-column: 2; } .f-a2 { grid-column: 4; }
.farrow::after, .farrow--both::before { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); }
.farrow::after { right: 1px; transform: translateY(-50%) rotate(45deg); }
.farrow--both::before { left: 1px; transform: translateY(-50%) rotate(-135deg); }
.farrow span { position: absolute; left: 50%; bottom: calc(100% + 2px); transform: translateX(-50%); width: 120px; text-align: center; font: 400 11px/1.3 var(--f-mono); color: var(--muted); }
.fline { grid-row: 2; justify-self: center; width: 0; height: 100%; border-left: 1.5px solid var(--ink); }
.fline--no { border-left: 1.5px dashed var(--red); }
.f-l1 { grid-column: 3; } .f-l2 { grid-column: 5; }
.fnode--out { grid-row: 3; margin: 0 22px; }
.f-none { grid-column: 3; } .f-anth { grid-column: 5; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.facts li { padding: 18px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.facts b { display: block; margin-bottom: 6px; font: 400 19px/1.2 var(--f-display); color: var(--ink); letter-spacing: -.01em; }

/* ── 4. story: proof, right after How it works ───────────────────── */
.story { padding: 40px 0 96px; } /* follows How it works: the proof right after the promise */
.story__top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 56px; align-items: end; padding-bottom: 40px; border-bottom: 1px solid var(--line-2); }
.story__title { margin: 0; font: 400 52px/1.06 var(--f-display); letter-spacing: -.04em; text-wrap: balance; }
.story__title span { display: block; }
.story__title span:first-child { color: var(--muted-2); }
.cleanup { padding-top: 40px; }
.cleanup__big { margin: 0; display: flex; align-items: center; gap: 18px; font: 400 96px/1 var(--f-display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.cleanup__big span:first-child { color: var(--muted-2); text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: rgb(0 0 0 / .25); }
.cleanup__arrow { position: relative; width: 56px; height: 2px; background: var(--ink); }
.cleanup__arrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 14px; height: 14px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: translateY(-50%) rotate(45deg); }
.cleanup__cap { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.cleanup__track { position: relative; margin-top: 64px; }
.cleanup__bar { display: flex; gap: 3px; height: 14px; }
.cleanup__bar i { position: relative; flex: var(--n) 1 0; border-radius: 4px; background: var(--k); transform-origin: left; cursor: default; outline-offset: 3px;
  transition: transform .7s var(--ease-out), opacity .25s var(--ease-out), scale .25s var(--ease-out); }
.cleanup__bar i.is-hot { scale: 1 1.6; }
/* 44px tall hit area that also covers half of each 3px gap, so there's no dead zone between segments.
   The hot segment is scaled 1.6×, so its area shrinks to (44 / 1.6 − 14) / 2 a side to stay 44px. */
.cleanup__bar i::before { content: ""; position: absolute; inset: -15px -1.5px; }
.cleanup__bar i.is-hot::before { inset-block: -6.75px; }
.story.is-focus .cleanup__bar i:not(.is-hot) { opacity: .28; }
.story.is-focus .receipts div:not(.is-hot) { opacity: .4; }
.story.is-focus .cleanup__big span:not(.is-hot) { opacity: .4; }
.receipts div, .cleanup__big span { transition: opacity .25s var(--ease-out); }
/* x is driven per frame from script.js (magnetic follow), so only the fade-in rise transitions */
.cleanup__tip { position: absolute; bottom: calc(100% + 14px); left: 0; transform: translateX(calc(var(--x, 0px) - 50%)); margin: 0; padding: 7px 11px; border-radius: 8px;
  background: var(--ink); color: #fff; font-size: 13px; white-space: nowrap; pointer-events: none;
  transition: opacity .2s var(--ease-out), translate .2s var(--ease-out); }
.cleanup__tip::after { content: ""; position: absolute; left: calc(50% + var(--ax, 0px)); top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--ink); }
.cleanup__tip b { font-weight: 600; }
.cleanup__tip:not(.is-on) { opacity: 0; translate: 0 4px; }
.cleanup__hint { margin: 12px 0 0; font-size: 12.5px; color: var(--muted-2); }
:where(html:not(.no-js)) .cleanup:not(.is-playing) .cleanup__bar i { transform: scaleX(0); }
.cleanup.is-playing .cleanup__bar i:nth-child(2) { transition-delay: .12s, 0s, 0s; }
.cleanup.is-playing .cleanup__bar i:nth-child(3) { transition-delay: .24s, 0s, 0s; }
.cleanup.is-playing .cleanup__bar i:nth-child(4) { transition-delay: .36s, 0s, 0s; }
.cleanup__bar .is-kept, .sw-key.is-kept { --k: var(--ink); }
.receipts div { cursor: default; }
.cleanup__bar .is-off, .sw-key.is-off { --k: repeating-linear-gradient(-45deg, var(--surface-3) 0 4px, var(--surface-2) 4px 8px); }
.cleanup__bar .is-merged, .sw-key.is-merged { --k: var(--amber); }
.cleanup__bar .is-archived, .sw-key.is-archived { --k: var(--grey-dot); }
.receipts { margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.receipts div { padding: 28px 24px 0; border-left: 1px solid var(--line-2); }
.receipts div:first-child { padding-left: 0; border-left: 0; }
.receipts dt { display: flex; align-items: center; gap: 12px; font: 400 56px/1 var(--f-display); letter-spacing: -.04em; }
.sw-key { width: 14px; height: 14px; border-radius: 4px; background: var(--k); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .08); flex: none; }
.receipts dd { margin: 10px 0 0; max-width: 240px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.story__body p { margin: 0; font-size: 16px; line-height: 1.6; color: #4a4a4a; }
.story__sign { margin-top: 20px !important; }
.story__sign strong { font: 400 20px/1.2 var(--f-display); color: var(--ink); }

/* ── 7. roadmap ──────────────────────────────────────────────────── */
.roadmap { padding-top: 60px; }
.road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.road::before { /* the track: solid through Now, dashed after */
  content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px;
  background: linear-gradient(90deg, var(--ink) 0 calc(100% / 6), transparent calc(100% / 6)),
              repeating-linear-gradient(90deg, var(--surface-3) 0 6px, transparent 6px 11px);
}
.stage { position: relative; padding: 46px 48px 0 0; }
.stage__when { position: absolute; top: 0; left: 0; margin: 0; display: flex; align-items: center; gap: 10px; font: 500 13px/20px var(--f-body); background: var(--bg); padding-right: 12px; }
.stage__node { width: 20px; height: 20px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--surface-3); }
.stage--now .stage__node { background: var(--yellow); box-shadow: inset 0 0 0 2px var(--ink); }
.stage h3 { margin: 0 0 20px; font: 400 26px/1.15 var(--f-display); letter-spacing: -.02em; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ticks li { position: relative; padding-left: 25px; font-size: 14.5px; line-height: 1.45; color: #3c3c3c; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 15px; height: 15px; border-radius: 50%; background: var(--yellow); }
.ticks li::after { content: ""; position: absolute; left: 4.6px; top: 6.6px; width: 5.5px; height: 2.8px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
.ticks--soon li { color: #5a5a5a; }
.ticks--soon li::before { background: none; box-shadow: inset 0 0 0 1.3px #b5b5b5; }
.ticks--soon li::after { display: none; }
.ticks li.is-tease { color: var(--ink); }
.ticks li.is-tease::before { box-shadow: none; background: var(--ink); }
.ticks li.is-tease::after { display: block; content: ""; left: 4px; top: 6px; width: 7px; height: 7px; border: 0; border-radius: 1px; background: var(--yellow); transform: rotate(45deg); }

/* ── 8. faq ──────────────────────────────────────────────────────── */
.faq { padding-top: 60px; }
.faq__grid { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.faq .head { position: sticky; top: 110px; margin-bottom: 0; }
.faq .sub { max-width: 330px; font-size: 14.5px; }
.accordion { display: flex; flex-direction: column; gap: 10px; }
.qa { border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 22px; min-height: 70px; font: 400 18.5px/1.3 var(--f-display); letter-spacing: -.01em; border-radius: 12px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); position: relative; flex: none; transition: transform .25s var(--ease-out), background-color .2s ease; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 1.4px; background: var(--ink); transform: translate(-50%, -50%); }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] summary i { transform: rotate(45deg); background: var(--yellow); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .qa summary:hover i { background: var(--yellow); box-shadow: none; } }
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size .22s var(--ease-out), content-visibility .22s allow-discrete; }
.qa[open]::details-content { block-size: auto; }
.qa__a { padding: 0 22px 22px; font-size: 14.5px; line-height: 1.62; color: var(--muted); max-width: 640px; }
.qa__a p { margin: 0; }

/* ── 9. join ─────────────────────────────────────────────────────── */
.cta { position: relative; overflow: hidden; margin-top: 60px; padding: 150px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta__rows { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 30px 0; pointer-events: none;
  -webkit-mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.cta__row { overflow: hidden; padding: 14px 0; margin: -14px 0; }
.cta__track { display: flex; gap: 10px; padding-right: 10px; width: max-content; white-space: nowrap; animation: marquee 110s linear infinite; }
.cta__row + .cta__row .cta__track { animation-direction: reverse; animation-duration: 130s; }
.cta:has(input[type="email"]:focus) .cta__track { animation-play-state: paused; }
.cta__row .sw__in, .cta__row .sw__tag { animation: none; }
.cta__row .sw { will-change: auto; }
@keyframes marquee { to { transform: translateX(-50%); } }
.cta__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 580px); gap: 72px; align-items: center; }
.cta__copy { display: flex; flex-direction: column; }
.cta__sub { margin: 24px 0 0; max-width: 460px; font-size: 17px; line-height: 1.55; color: #4a4a4a; }
.opt { margin-left: 6px; font-weight: 400; font-size: 12.5px; color: var(--muted-2); }
.signup { display: flex; flex-direction: column; gap: 24px; padding: 30px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -40px rgb(0 0 0 / .35); }
.signup__q { border: 0; margin: 0; padding: 0; min-width: 0; }
.signup__q legend, .signup__label { display: block; padding: 0; margin-bottom: 12px; font-weight: 500; font-size: 15px; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick span { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13.5px; transition: background-color .15s ease, box-shadow .15s ease, transform .16s var(--ease-out); }
.pick span::before { content: ""; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.3px #b5b5b5; transition: background-color .15s ease, box-shadow .15s ease; }
.pick input:checked + span { background: var(--yellow); box-shadow: none; }
.pick input:checked + span::before { background: var(--ink); box-shadow: none; }
.pick input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.pick:active span { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .pick:hover input:not(:checked) + span { background: var(--surface-2); } }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 10px 6px; border-radius: 999px; text-align: center; font-size: 13.5px; color: var(--muted); transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .12); }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 1px; }
/* One pill field with the submit button seated inside it, 5px from the edge. */
.signup__row { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .15s ease; }
.signup__row:has(input:focus) { box-shadow: inset 0 0 0 2px var(--ink); }
.signup__row input { flex: 1; min-width: 0; height: 46px; padding: 0 0 0 17px; border: 0; border-radius: 999px; background: transparent; font: 400 15px/1 var(--f-body); color: var(--ink); outline: none; }
.signup__row input::placeholder { color: var(--muted-2); }
.signup__row .btn { height: 46px; padding: 0 24px; }
.signup__fine { margin: -10px 0 0; font-size: 12.5px; color: var(--muted-2); }
.join__error { margin: -8px 0 0; font-size: 13px; color: #c22b3b; }
.signup--done { align-items: flex-start; gap: 10px; animation: done-in .35s var(--ease-out); outline: none; }
.signup__check { position: relative; width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); margin-bottom: 8px; }
.signup__check::after { content: ""; position: absolute; left: 16px; top: 17px; width: 15px; height: 8px; border-left: 2.4px solid var(--ink); border-bottom: 2.4px solid var(--ink); transform: rotate(-45deg); }
.signup__done-title { margin: 0; font: 400 30px/1.1 var(--f-display); letter-spacing: -.02em; }
.signup__done-text { margin: 0 0 12px; font-size: 15px; color: var(--muted); }
@keyframes done-in { from { opacity: 0; transform: translateY(6px) scale(.98); } }

/* ── footer ──────────────────────────────────────────────────────── */
.footer { padding: 48px 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer__brand p { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); max-width: 300px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; color: var(--muted); }
.footer__col a { transition: color .2s ease; }
@media (hover: hover) and (pointer: fine) { .footer__col a:hover, .footer__bottom a:hover { color: var(--ink); } }
.footer__h { margin: 0 0 6px; font-size: 13.5px; color: var(--ink); font-weight: 500; }
.footer__bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 26px; font-size: 12.5px; color: var(--muted); }

/* ── responsive ──────────────────────────────────────────────────── */
@media (max-width: 1199px) {
  :root { --pad: 32px; }
  .section { padding: 112px 0; }
  .h-hero { font-size: 56px; }
  .h-section { font-size: 42px; }
  .h-cta { font-size: 62px; }
  .nav__links { gap: 20px; }
  .steps { gap: 96px; }
  .step, .step:nth-child(even) { gap: 48px; }
  .step__title { font-size: 34px; }
  .flow { grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr) 92px minmax(0, 1fr); }
  .f-skills, .f-muster, .f-claude { margin: 64px 14px 28px; }
  .fnode--out { margin: 0 14px; }
  .farrow span { width: 100px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .story__title { font-size: 44px; }
  .receipts dt { font-size: 48px; }
  .cleanup__big { font-size: 80px; }
  .chip--4, .chip--10 { display: none; }
  .chip--5 { left: 4%; }
  .find { grid-template-columns: 1fr; gap: 14px; max-width: 420px; }
  .find__wires { display: none; }
  .faq__grid { grid-template-columns: 300px 1fr; }
  .cta__grid { gap: 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); }
  .h-cta { font-size: 58px; }
}

/* short laptop screens: smaller problem text so the chips clear it */
@media (min-width: 810px) and (max-height: 760px) {
  .problem__text { font-size: 28px; }
}

@media (max-width: 1023px) {
  .step, .step:nth-child(even) { grid-template-columns: 1fr; gap: 32px; }
  .step:nth-child(even) .step__copy { order: 0; }
  .step__copy { max-width: 600px; }
  .story__top { grid-template-columns: 1fr; gap: 24px; }
  .cta__grid { grid-template-columns: 1fr; }
  .cta__sub { max-width: 560px; }
  .guide { left: 24px; width: 250px; }
}

@media (max-width: 809px) {
  :root { --pad: 20px; --nav-h: 56px; }
  body { font-size: 14px; }
  .section { padding: 88px 0; }
  .h-hero { font-size: 40px; letter-spacing: -.035em; }
  .h-section { font-size: 34px; }
  .h-cta { font-size: 48px; }
  .lede { font-size: 16.5px; }
  .head { margin-bottom: 40px; }
  .head--split { flex-direction: column; align-items: flex-start; gap: 18px; }

  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__sheet { display: flex; flex-direction: column; overflow: hidden; max-height: 0; padding: 0 var(--pad); transition: max-height .35s var(--ease-out), padding .35s var(--ease-out); background: #fff; }
  .nav__sheet a { padding: 13px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav__sheet a:last-child { border-bottom: 0; }
  .nav.is-open .nav__sheet { max-height: 420px; padding-top: 6px; padding-bottom: 10px; }

  .hero__copy { padding-top: 56px; padding-bottom: 44px; }
  .hero__kicker { margin-bottom: 20px; flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .hero__kicker > span { white-space: nowrap; }
  .br-m { display: inline; }
  .hero .btns { flex-direction: column; align-self: stretch; }
  .hero .btns .btn { width: 100%; }
  .hero__facts { gap: 8px 18px; }
  .hero__stage { height: 420px; min-height: 0; }
  .hero__shot { width: calc(100% - 2 * var(--pad)); }
  .sw__in { height: 26px; padding: 0 9px; font-size: 11px; }

  .problem__text { font-size: 25px; }
  .chip { scale: .85; }
  .chip--2, .chip--8 { display: none; }
  .chip--1 { top: 3%; left: 3%; }
  .chip--9 { top: 10%; left: auto; right: 3%; }
  .chip--7 { top: 17%; left: 3%; right: auto; }
  .chip--3 { top: 78%; left: auto; right: 3%; }
  .chip--6 { top: 85%; left: 3%; right: auto; }
  .chip--5 { top: 92%; left: auto; right: 2%; }

  .steps { gap: 72px; }
  .step__title { font-size: 30px; }
  .step__art { min-height: 0; padding: 22px 16px; border-radius: 16px; }
  .shell { height: 264px; font-size: 11.5px; line-height: 18px; }
  .shell__body p { min-height: 18px; }
  .shell__body .shell__gap { margin-top: 14px; }
  .find { grid-template-columns: 1fr; gap: 14px; }
  .find__wires { display: none; }
  .report__head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .report__list li { grid-template-columns: auto minmax(0, 1fr); }
  .report__list .tag { grid-column: 2; justify-self: start; }
  .cmp__cols { grid-template-columns: 1fr; }
  .sort { grid-template-columns: 1fr; gap: 12px; }
  .sort__arrow { transform: rotate(90deg); margin: 4px 0; }

  .demo { padding-top: 24px; }
  .desk { height: auto; display: flex; flex-direction: column; padding-bottom: 20px; border-radius: 16px; }
  .mbar__menu, .mbar__ico--search, .mbar__ico--wifi { display: none; }
  .guide { position: static; transform: none; width: auto; margin: 14px 12px 0; padding: 14px; }
  .guide__title { font-size: 19px; }
  .pop { position: relative; top: auto; right: auto; margin: 12px auto 0; width: min(320px, calc(100% - 24px)); max-height: 560px; }
  .desk__toast { position: fixed; bottom: 16px; }

  .flow { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 0 12px; }
  .flow__mac { grid-column: 1 / -1; grid-row: 1 / 7; }
  .flow__label { grid-row: 1; margin: 16px; }
  .f-skills, .f-muster, .f-claude { grid-column: 1 / -1; margin: 0 16px; }
  .f-skills { grid-row: 2; } .f-muster { grid-row: 4; } .f-claude { grid-row: 6; margin-bottom: 16px; }
  .farrow { grid-column: 1 / -1; margin: 0; height: 52px; width: 20px; justify-self: start; margin-left: 40px; align-self: stretch;
    background: linear-gradient(var(--ink), var(--ink)) center / 1.5px calc(100% - 4px) no-repeat; }
  .f-a1 { grid-row: 3; } .f-a2 { grid-row: 5; }
  .farrow::after { top: auto; bottom: 1px; left: 50%; right: auto; transform: translateX(-50%) rotate(135deg); }
  .farrow--both::before { top: 1px; left: 50%; transform: translateX(-50%) rotate(-45deg); }
  .farrow span { left: calc(100% + 10px); bottom: auto; top: 50%; transform: translateY(-50%); width: 200px; text-align: left; }
  .fline { display: none; }
  .fnode--out { grid-row: 7; margin: 16px 0 0; }
  .f-none { grid-column: 1; } .f-anth { grid-column: 2; }
  .facts { grid-template-columns: 1fr; }

  .story { padding: 24px 0 72px; }
  .story__title { font-size: 34px; }
  .cleanup__big { font-size: 60px; gap: 12px; }
  .cleanup__arrow { width: 32px; }
  .receipts { grid-template-columns: 1fr 1fr; gap: 28px 16px; border-top: 0; }
  .receipts div, .receipts div:first-child { padding: 0; border-left: 0; }
  .receipts dt { font-size: 40px; gap: 10px; }

  .road { grid-template-columns: 1fr; gap: 40px; padding-left: 34px; }
  .road::before { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--ink) 0 64px, transparent 64px), repeating-linear-gradient(180deg, var(--surface-3) 0 6px, transparent 6px 11px); }
  .stage { padding: 0; }
  .stage__when { position: static; margin: 0 0 10px -34px; }

  .faq__grid { grid-template-columns: 1fr; }
  .faq .head { position: static; margin-bottom: 28px; }
  .qa summary { font-size: 16.5px; min-height: 62px; padding: 0 18px; }
  .qa__a { padding: 0 18px 18px; }

  .cta { padding: 110px 0; }
  .signup { padding: 20px; border-radius: 20px; }
  .seg { grid-template-columns: repeat(2, 1fr); border-radius: 22px; }
  .signup__row { flex-direction: column; gap: 8px; padding: 0; background: none; box-shadow: none; }
  .signup__row:has(input:focus) { box-shadow: none; }
  .signup__row input { height: 50px; padding: 0 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .15s ease; }
  .signup__row input:focus { box-shadow: inset 0 0 0 2px var(--ink); }
  .signup__row .btn { width: 100%; height: 50px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 380px) {
  .nav__cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta__track, .chip, .sw__in, .sw__in .sw__tag, .sw.is-out .sw__in { animation: none; }
  .is-playing .find__wires path { animation: none; }
  .term__body p:not(.term__cmd), .report__list li, .tree li.is-new, .cmp__fix { opacity: 1; transform: none; transition: none; }
  .chip, .cleanup__bar i { transition: none; }
  .cleanup__tip { transition: opacity .15s ease; }
  .nav__sheet, .nav__burger span, .qa::details-content, .signup--done { transition: none; animation: none; }
  .pop { transition: opacity .15s ease; }
  .pop.is-closed { transform: none; }
  /* gentler, not zero: views, the fix note and the toast still fade */
  .pop__view.is-in, .pv-done.is-new, .desk__toast { animation-name: fade; animation-duration: .15s; }
  .desk__toast.is-leaving { animation-name: fade-out; animation-duration: .15s; }
  @keyframes fade { from { opacity: 0; } }
  @keyframes fade-out { to { opacity: 0; } }
}
