@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/tools/wma/fonts/geist.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url(/assets/fonts/jetbrains-mono.woff2) format('woff2'); }
:root {
	--ink: #0b0b10; --mute: #5d6270; --line: #e3e5ea; --bg: #ffffff; --soft: #f3f4f7;
	--m: #e0218a; --o: #ff7a1a; --y: #ffc21a; --b: #2f6bff; --v: #7a3cff; --g: #12a150;
	--pad: clamp(18px, 4.5vw, 72px); --r: 26px;
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--bg); color: var(--ink); scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font: 400 17px/1.6 Geist, system-ui, sans-serif; -webkit-font-smoothing: antialiased; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
a { color: inherit; }
code, pre { font-family: 'JetBrains Mono', ui-monospace, monospace; }
code { font-size: .86em; background: var(--soft); border: 1px solid var(--line); border-radius: 7px; padding: 1px 6px; }
:focus-visible { outline: 2px solid var(--b); outline-offset: 3px; }
.skip, .sr { position: absolute; left: -9999px; }
.skip:focus { left: var(--pad); top: 12px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 9; }
img { display: block; max-width: 100%; height: auto; }

/* header */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 12px 0; background: rgba(255,255,255,.82); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); }
.home { display: block; background: #000; border-radius: 12px; padding: 7px 8px; line-height: 0; }
.home img { width: 34px; }
.crumb { font: 600 13px 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--mute); }
.crumb:hover { color: var(--ink); }
.links { margin-left: auto; display: flex; gap: 4px; }
.links a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 12px; border-radius: 999px; color: var(--mute); white-space: nowrap; }
.links a:hover { color: var(--ink); background: var(--soft); }
.links .gh { color: #fff; background: var(--ink); }
.links .gh:hover { color: #fff; background: #26262e; }

/* type */
.lab { font: 600 12px 'JetBrains Mono', monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
h1 { font-weight: 900; font-size: clamp(50px, 6.4vw, 104px); line-height: .94; letter-spacing: -.05em; margin: 22px 0 24px; }
h2 { font-weight: 850; font-size: clamp(34px, 4.6vw, 68px); line-height: .98; letter-spacing: -.04em; margin: 12px 0 30px; max-width: 20ch; }
h3 { font-weight: 750; font-size: 24px; letter-spacing: -.02em; line-height: 1.15; }
.grad { background: linear-gradient(100deg, var(--m), var(--o) 32%, var(--y) 52%, var(--b) 78%, var(--v)); -webkit-background-clip: text; background-clip: text; color: transparent; }
section { padding: clamp(56px, 10vh, 120px) 0 0; }
.note { color: var(--mute); font-size: 15px; }

/* glass cards */
.glass { position: relative; background: linear-gradient(150deg, #fff, #f6f7fa); border: 1px solid rgba(15,20,40,.08); border-radius: var(--r); box-shadow: 0 1px 0 #fff inset, 0 24px 60px -30px rgba(30,40,90,.28), 0 2px 6px rgba(30,40,90,.05); }

/* hero */
.hero { padding-top: clamp(28px, 6vh, 72px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.kicker { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font: 600 13px 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.pill { color: #fff; background: var(--ink); border-radius: 999px; padding: 6px 12px; letter-spacing: .12em; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: #30333d; max-width: 42ch; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; min-height: 54px; padding: 0 26px; border-radius: 999px; text-decoration: none; font-weight: 650; font-size: 17px; border: 1px solid var(--line); background: #fff; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(30,40,90,.35); }
.btn.primary { color: #fff; background: var(--ink); border-color: var(--ink); }

.film video { width: 100%; height: auto; display: block; border-radius: var(--r); background: #0b0c11; box-shadow: 0 40px 90px -46px rgba(10,14,40,.7); }
.film .note { margin-top: 12px; text-align: center; }

/* scroll story */
.storyhead { max-width: 900px; }
.storyhead h2 { max-width: 22ch; }
.stage { display: none; }
.steps { list-style: none; padding: 0; display: grid; gap: 56px; margin-top: 40px; }
.step { display: grid; gap: 12px; align-content: center; }
.step p { color: #3b3e49; }
.n { font: 700 13px 'JetBrains Mono', monospace; color: var(--b); letter-spacing: .08em; text-transform: uppercase; }
.step h3 { font-size: clamp(28px, 3vw, 42px); font-weight: 850; letter-spacing: -.035em; line-height: 1.04; }
.cmd { font-size: 14px; line-height: 1.7; color: #e9ecf4; background: #0d0e14; border-radius: 14px; padding: 14px 18px; overflow-x: auto; }
.inline { margin-top: 10px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.inline figcaption { padding: 8px 14px; font: 600 12px 'JetBrains Mono', monospace; color: var(--mute); border-top: 1px solid var(--line); }

@media (min-width: 1000px) {
	.js .storygrid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 4vw, 64px); margin-top: 20px; }
	.js .stage { display: block; order: 2; position: sticky; top: max(84px, calc(50vh - 280px)); align-self: start; }
	.js .steps { margin: 0; gap: 0; }
	.js .step { min-height: 78vh; padding: 40px 0; opacity: .28; transition: opacity .35s; }
	.js .step.on { opacity: 1; }
	.js .inline { display: none; }
	.stagebox { position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: 0 30px 70px -44px rgba(30,40,90,.5); }
	/* The lens: each new stage opens as a circle, the signature of the idea. */
	.frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; clip-path: circle(0 at 58% 42%); transition: clip-path .85s cubic-bezier(.2,.7,.2,1); }
		.frame.prev { clip-path: circle(130% at 58% 42%); transition: none; z-index: 1; }
	.frame.on { clip-path: circle(130% at 58% 42%); z-index: 2; }
	.counter { height: 44px; display: flex; align-items: center; gap: 8px; font: 600 13px 'JetBrains Mono', monospace; color: var(--ink); }
	#kind { margin-left: auto; color: var(--mute); font-weight: 500; }
}

/* tool types and after */
.cards3 { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards3 li { padding: 28px; display: grid; gap: 10px; align-content: start; }
.cards3 p { color: var(--mute); font-size: 16px; }
.cards3 .lim { color: #2a2d36; font-size: 14px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.tag { justify-self: start; font: 700 12px 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; color: #fff; }
.t1 { background: var(--b); } .t2 { background: var(--m); } .t3 { background: var(--v); }
.five { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 14px 24px; max-width: 900px; }
.five dd { color: var(--mute); }

/* limits */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cols .glass, .safety { padding: 30px; }
.cols h3 { margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.cols h3::before { content: ''; width: 12px; height: 12px; border-radius: 4px; background: var(--g); }
.no h3::before { background: var(--o); }
.cols ul { padding-left: 20px; display: grid; gap: 8px; color: #30333d; font-size: 16px; }
.safety { margin-top: 20px; display: grid; gap: 10px; }
.safety p { color: #30333d; font-size: 16px; max-width: 80ch; }

/* try */
.req { color: var(--mute); margin: -14px 0 22px; }
.term { margin-top: 16px; background: #0d0e14; border-radius: var(--r); overflow: hidden; }
.bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px 12px 22px; border-bottom: 1px solid #23252f; color: #8a90a3; font: 600 12px 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.copy { font: 600 12px 'JetBrains Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: #0d0e14; background: #fff; border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.copy:hover { background: var(--y); }
.term pre { color: #e9ecf4; padding: 22px; font-size: 15px; line-height: 1.75; overflow-x: auto; }

/* end */
.end { display: grid; justify-items: center; text-align: center; gap: 18px; padding-bottom: 40px; }
.end img { width: min(720px, 100%); }
footer { margin-top: 40px; padding: 22px 0 34px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--mute); font-size: 14px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

@media (max-width: 999px) {
	.hero, .cards3, .cols { grid-template-columns: minmax(0, 1fr); }
	.links a:not(.gh) { display: none; }
}
@media (max-width: 560px) {
	.five { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.five dd { margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn, .frame, .step { transition: none !important; }
}
