/* 02 essay, the full page. The homepage is an argument: Anvil is an agentic development environment
   and a forge in one app. Off-white (near-black in the dark), one grotesk (Mona Sans), ink only; the
   one gradient is the ground under Figure 1. Furniture sits in a margin beside the column, and folds
   into the column on a narrow screen. */
:root {
	--ground: #f6f5f1; --ink: #17171a; --ink-soft: #64635e; --ink-faint: #9d9c96; --rule: #dedcd4; --card: #ffffff;
	--shade: #2a2016; --feature: #17171a; --ornament: #17171a; --accent: #c9582a;
	--edge: color-mix(in oklab, var(--shade) 14%, transparent);
	--plate: linear-gradient(172deg, #ebe8ef 0%, #ece2dc 38%, #edcdb3 72%, #e9a77b 100%);
	--sans: "Mona Sans", -apple-system, "Helvetica Neue", sans-serif;
	--mono: ui-monospace, "SF Mono", Menlo, monospace;
	--size-text: 1.1875rem; --size-small: 0.8125rem;
	--measure: 40rem; --gutter: 64px; --page: 76rem; --pad: 40px;
}
@media (prefers-color-scheme: dark) {
	:root {
		--ground: #131312; --ink: #ecebe6; --ink-soft: #a3a19a; --ink-faint: #6f6e69; --rule: #2b2a28; --card: #1c1c1b;
		--shade: #000; --feature: #ecebe6; --ornament: #ecebe6; --accent: #e57744;
		--edge: #ffffff17;
		--plate: linear-gradient(172deg, #1a1a20 0%, #221b1c 40%, #3a2216 74%, #6e3216 100%);
	}
}
* { box-sizing: border-box; }
html { background: var(--ground); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0; color: var(--ink); background: var(--ground);
	font: 400 var(--size-text)/1.62 var(--sans);
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
::selection { background: color-mix(in oklab, var(--accent) 28%, transparent); }
kbd { font: 500 0.82em/1 -apple-system, BlinkMacSystemFont, var(--sans); display: inline-block; min-width: 1.6em; padding: 0.22em 0.4em; border-radius: 5px; text-align: center; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule), 0 1px 0 var(--rule); }
code { font: 400 0.84em/1.5 var(--mono); }
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--pad); }

/* The bar. */
.bar { display: flex; align-items: center; justify-content: space-between; padding-top: 36px; font-size: 15px; }
.bar .name { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.bar nav { display: flex; gap: 28px; color: var(--ink-soft); }
.bar nav a { text-decoration: none; }
.bar nav a:hover { color: var(--ink); }
.bar nav .dl { color: var(--ink); }

/* The claim: one sentence whose last words won't sit still, a line under it, and the download. */
.thesis { padding-top: 64px; }
h1 { margin: 0; font-weight: 520; font-size: 3.75rem; line-height: 1.06; letter-spacing: -0.032em; max-width: 19em; }
h1 .fixed { display: block; }
.cycle { display: grid; color: var(--ink-soft); }
.cycle > span { grid-area: 1 / 1; visibility: hidden; }
.cycle > span.on { visibility: visible; }
.cycle i { display: inline-block; font-style: normal; }
.lede { margin: 26px 0 0; max-width: 40em; font-size: 1.25rem; line-height: 1.5; color: var(--ink-soft); letter-spacing: -0.006em; }
.lede b { font-weight: 500; color: var(--ink); }
.act { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--ink); color: var(--ground); font-size: 16px; font-weight: 550; text-decoration: none; transition: transform 140ms; }
.btn:active { transform: scale(0.98); }
.btn svg { width: 17px; height: 17px; }
.act .meta { font-size: 14.5px; color: var(--ink-soft); line-height: 1.4; }
.act .meta a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--rule); }

/* Figure 1: the demo on the page's one gradient. */
.fig1 { max-width: calc(var(--page) + 6rem); margin: 48px auto 0; padding: 0 16px; }
.plate { position: relative; padding: 30px 64px 84px; border-radius: 6px; overflow: hidden; background: var(--plate); }
.plate .hero-visual { max-width: 1060px; margin: 0 auto; }
.plate .proto { width: 100%; min-height: 0; max-height: none; aspect-ratio: 1.52; border-radius: 10px; --w-accent: #d0602c;
	box-shadow: 0 0 0 1px #2a201622, 0 1px 2px #2a201614, 0 40px 80px -40px #5a2a1066; }
@media (prefers-color-scheme: dark) { .plate .proto { box-shadow: 0 0 0 1px #ffffff17, 0 40px 80px -30px #000000c0; } }
.plate .p-head { margin: 0 0 16px; grid-template-columns: auto minmax(0, 1fr); }
.plate .p-headline { font: 500 14px/1.4 var(--sans); color: color-mix(in oklab, var(--ink) 78%, transparent); }
.plate .p-headline b { font-weight: 650; color: var(--ink); margin-right: 8px; }
.plate .p-scenes { flex-wrap: wrap; gap: 2px; }
.plate .p-scenes button { font: 500 13.5px/1 var(--sans); color: color-mix(in oklab, var(--ink) 62%, transparent); padding: 6px 9px; border-radius: 99px; }
.plate .p-scenes button:hover { color: var(--ink); text-decoration-color: transparent; }
.plate .p-scenes button[aria-current="true"] { color: var(--ink); background: color-mix(in oklab, var(--ground) 70%, transparent); }
.plate .p-card { border-radius: 10px; }
.plate .p-card-name { font-family: var(--sans); font-weight: 600; min-width: 19em; }
.plate .p-dock { left: 20px; }
.fig1 figcaption { max-width: var(--page); margin: 16px auto 0; padding: 0 calc(var(--pad) - 16px); font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.fig1 figcaption span { display: block; max-width: var(--measure); }
.fig1 figcaption b, .fig2 figcaption b { font-weight: 600; color: var(--ink); }

/* The essay: a column, with a figure in the margin beside each step. */
section.part { display: grid; grid-template-columns: var(--measure) minmax(0, 1fr); column-gap: var(--gutter); }
section.part > * { grid-column: 1; }
h2 { margin: 104px 0 22px; font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.big { font-size: 1.75rem; line-height: 1.34; letter-spacing: -0.018em; font-weight: 450; margin: 0 0 0.8em; }
.essay p { margin: 0 0 1.05em; }
.soft { color: var(--ink-soft); }

ol.plan { list-style: none; margin: 0; padding: 0; display: contents; }
ol.plan > li { display: contents; }
.step { counter-increment: step; grid-column: 1; position: relative; padding: 30px 0 10px; border-top: 1px solid var(--rule); }
.step::before { content: counter(step); position: absolute; left: -64px; top: 29px; width: 40px; text-align: right; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.plan-wrap { counter-reset: step; }
.step h3 { margin: 0 0 8px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.008em; line-height: 1.4; }
.step p { margin: 0 0 0.9em; color: color-mix(in oklab, var(--ink) 84%, var(--ground)); }
.note { grid-column: 2; align-self: start; margin-top: 34px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); min-width: 0; }
.note .cap { display: block; margin-top: 12px; max-width: 30em; }

/* Margin figure 1: an Inbox message, and the thread t starts on it. */
.inbox { max-width: 330px; }
.msg { padding: 12px 14px; border-radius: 10px; background: var(--card); box-shadow: 0 0 0 1px var(--edge), 0 10px 24px -18px #2a201650; }
.msg .from { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); }
.msg .from u { width: 7px; height: 7px; border-radius: 50%; background: #3b82f6; }
.msg .from span:last-child { margin-left: auto; }
.msg .subj { margin: 4px 0 2px; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.msg .src { font-size: 12px; }
.msg .keys { display: flex; gap: 14px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--ink-soft); }
.msg .keys .hot { color: var(--ink); font-weight: 550; }
.msg .keys kbd { margin-right: 5px; font-size: 11px; }
.flow { display: block; width: 1px; height: 26px; margin: 0 0 0 28px; background: var(--ink-faint); position: relative; }
.flow::after { content: ""; position: absolute; left: -3.5px; bottom: -1px; border: 4px solid transparent; border-top: 5px solid var(--ink-faint); border-bottom: 0; }
.newthread { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--rule); font-size: 12.5px; color: var(--ink-soft); }
.newthread u { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; animation: breathe 1.6s ease-in-out infinite; }
.newthread b { color: var(--ink); font-weight: 550; }
@keyframes breathe { 50% { opacity: 0.3; } }

/* Margin figure 2: a lane off main and back. */
.lane svg { width: 100%; max-width: 330px; height: auto; overflow: visible; }
.lane .main { stroke: var(--ink-faint); }
.lane .ln { stroke: var(--ink); }
.lane .c { fill: var(--ground); stroke: var(--ink-faint); stroke-width: 1.5; }
.lane .cl { fill: var(--ground); stroke: var(--ink); stroke-width: 1.5; }
.lane .m { fill: var(--ink); }
.lane text { font: 500 11px var(--sans); fill: var(--ink-soft); }
.lane text.t { fill: var(--ink); font-weight: 600; }
.lane text.mono { font: 400 10px var(--mono); fill: var(--ink-faint); }

/* Figure 2, with room of its own: a go-ahead, at a size you can read every part of. */
.fig2 { grid-column: 1 / -1 !important; margin: 26px 0 18px; display: grid; grid-template-columns: minmax(0, 46rem) minmax(0, 1fr); column-gap: var(--gutter); align-items: start; }
.goahead { position: relative; padding: 22px 24px 20px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--edge), 0 2px 4px -2px #2a20161a, 0 40px 70px -40px #2a201666; }
@media (prefers-color-scheme: dark) { .goahead { box-shadow: 0 0 0 1px var(--edge), 0 40px 70px -30px #000; } }
.goahead .top { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.goahead .top u { width: 8px; height: 8px; border-radius: 50%; background: #d99a1e; }
.goahead .top b { color: #b07a10; font-weight: 600; }
@media (prefers-color-scheme: dark) { .goahead .top b { color: #e8b03a; } }
.goahead .top span:last-child { margin-left: auto; }
.goahead .q { margin: 10px 0 4px; font-size: 1.75rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.022em; }
.goahead .sum { margin: 0 0 18px; font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); }
.goahead .body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shots figure { margin: 0; }
.shots figcaption { margin-top: 6px; font-size: 12px; color: var(--ink-soft); }
/* Each screenshot is the composer in a window: before, the terminal keeps the focus; after, the composer has it. */
.mini { aspect-ratio: 1.3; border-radius: 7px; overflow: hidden; background: #ececec; box-shadow: 0 0 0 1px var(--edge); display: grid; grid-template-rows: 12px 1fr; }
.mini .tb { display: flex; gap: 3px; align-items: center; padding: 0 5px; }
.mini .tb i { width: 4px; height: 4px; border-radius: 50%; background: #0000002a; }
.mini .in { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 0 3px 3px; }
.mini .pane { border-radius: 3px; background: #fff; position: relative; padding: 6px; display: flex; flex-direction: column; gap: 3px; }
.mini .pane s { display: block; height: 3px; border-radius: 2px; background: #0000001a; }
.mini .pane.t { background: #1b1b1b; }
.mini .pane.t s { background: #ffffff2a; }
.mini .comp { position: absolute; left: 5px; right: 5px; bottom: 5px; height: 12px; border-radius: 4px; box-shadow: 0 0 0 1px #00000022; }
.mini .ring { box-shadow: 0 0 0 1.5px #d0602c, 0 0 0 4px #d0602c33; }
.mini .comp.ring::after { content: ""; position: absolute; left: 5px; top: 3px; width: 1.5px; height: 6px; background: #17171a; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-color-scheme: dark) {
	.mini { background: #181818; }
	.mini .tb i { background: #ffffff2a; }
	.mini .pane { background: #232323; }
	.mini .pane s { background: #ffffff1c; }
	.mini .pane.t { background: #0e0e0e; }
	.mini .comp { box-shadow: 0 0 0 1px #ffffff22; }
	.mini .comp.ring::after { background: #ecebe6; }
}
.checks { font-size: 13.5px; }
.checks dt { font-size: 11.5px; font-weight: 600; color: var(--ink-soft); margin: 0 0 4px; }
.checks dd { margin: 0 0 12px; }
.checks ul { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: 8px; line-height: 1.7; }
.checks li::before { content: "✓"; color: #2f9e5b; font-weight: 600; }
.checks li span { margin-left: auto; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.checks .add { color: #2f9e5b; } .checks .del { color: #d2453d; }
.checks code { font-size: 12px; }
.answers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); }
.answers span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 9px; font-size: 14px; box-shadow: inset 0 0 0 1px var(--rule); }
.answers span kbd { font-size: 11px; min-width: 1.7em; }
.answers span.rec { box-shadow: inset 0 0 0 1.5px var(--accent); font-weight: 600; }
.answers span.rec em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--ink-soft); }
.fig2 > figcaption { font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); padding-top: 22px; max-width: 24em; }

/* Margin figure 4: one deck, both sides. */
.deck { max-width: 340px; border-top: 1px solid var(--ink); font-size: 12.5px; }
.deck li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 4px 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.deck ul { list-style: none; margin: 0; padding: 0; }
.deck u { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); transform: translateY(-1px); }
.deck u.f { background: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.deck b { font-weight: 550; color: var(--ink); }
.deck span { color: var(--ink-soft); }
.deck em { font-style: normal; font: 400 10.5px var(--mono); color: var(--ink-faint); }
.deck .k { display: block; color: var(--ink-faint); font-size: 11.5px; }

/* Margin figure 5: the repo ring, its nouns along its quarters as the app sets them. */
.ringfig svg { width: 100%; max-width: 280px; height: auto; display: block; }
.ringfig .q { fill: none; stroke: color-mix(in oklab, var(--ink) 7%, var(--ground)); }
.ringfig .q.on { stroke: var(--ink); }
.ringfig .edge { fill: none; stroke: var(--rule); stroke-width: 1; }
.ringfig text { font: 500 10.5px var(--mono); fill: var(--ink-soft); letter-spacing: 0.04em; text-transform: uppercase; }
.ringfig text.on { fill: var(--ground); }
.ringfig text.o { font-size: 9px; fill: var(--ink-faint); }
.ringfig .key { font: 500 11px var(--sans); fill: var(--ink-soft); text-transform: none; letter-spacing: 0; }
.ringfig .keycap { fill: var(--ground); stroke: var(--rule); }

/* Margin figure 6: the queue, and what a waiting item says. */
.queue { max-width: 340px; border-top: 1px solid var(--ink); font-size: 12.5px; }
.queue div { padding: 9px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 2px 10px; align-items: baseline; }
.queue u { width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-soft); transform: translateY(-1px); }
.queue u.on { background: var(--ink); box-shadow: none; }
.queue b { font-weight: 550; color: var(--ink); }
.queue em { font-style: normal; font: 400 10.5px var(--mono); color: var(--ink-soft); padding: 1px 5px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--rule); }
.queue small { grid-column: 2 / -1; font-size: 12px; color: var(--ink-soft); }
.cli { margin: 16px 0 0; font: 400 11.5px/1.65 var(--mono); color: var(--ink); white-space: pre; overflow-x: auto; }
.cli i { font-style: normal; color: var(--ink-faint); }

/* Download. */
.get h2 { margin-top: 128px; }
.get .big { font-size: 2.6rem; line-height: 1.1; letter-spacing: -0.028em; font-weight: 520; margin: 0 0 28px; }
.get .act { margin-top: 0; }
.line { display: flex; align-items: center; gap: 10px; margin-top: 18px; max-width: 100%; padding: 10px 10px 10px 16px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--rule); }
.line code { font-size: 14px; white-space: nowrap; overflow-x: auto; flex: 1; min-width: 0; }
.line code::before { content: "$ "; color: var(--ink-faint); }
.line.ps code::before { content: "> "; }
.copy { flex: none; font: 500 12.5px/1 var(--sans); color: var(--ink-soft); background: none; border: 0; padding: 7px 10px; border-radius: 7px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--rule); }
.copy:hover { color: var(--ink); }
.copy[data-done] { color: var(--ink); }
.get .note.plat { grid-column: 2; grid-row: 2 / span 5; margin-top: 8px; display: flex; flex-direction: column; gap: 30px; }
.plat .line { padding: 8px 8px 8px 12px; }
.plat .line code { font-size: 12.5px; }
.plat h3 { margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.plat p { margin: 0 0 10px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.plat .dl { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14.5px; }
.plat .dl a { text-underline-offset: 3px; text-decoration-color: var(--rule); }
.plat .dl a:hover { text-decoration-color: currentColor; }
.get .note { margin-top: 0; }
.signed { font-size: 13.5px; }

/* Who makes it, what it's built on. */
.made dl { margin: 0; display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 14px 24px; font-size: 16px; line-height: 1.5; }
.made dt { color: var(--ink-soft); }
.made dd { margin: 0; }

footer { margin-top: 128px; border-top: 1px solid var(--rule); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 44px; font-size: 13.5px; color: var(--ink-faint); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .label { color: var(--ink-faint); }

/* ---- Narrower: the margin narrows, then folds into the column. ---- */
@media (max-width: 1180px) {
	:root { --measure: 34rem; --gutter: 48px; }
	.plate { padding: 26px 40px 80px; }
	.step::before { left: -48px; width: 32px; }
}
@media (max-width: 860px) {
	:root { --pad: 22px; --size-text: 1.0625rem; }
	section.part { grid-template-columns: minmax(0, 1fr); }
	.note { grid-column: 1; margin: 6px 0 26px; }
	.step::before { position: static; display: block; width: auto; text-align: left; margin-bottom: 4px; font-size: 14px; }
	.fig2 { grid-template-columns: minmax(0, 1fr); }
	.fig2 > figcaption { padding-top: 14px; }
	.thesis { padding-top: 56px; }
	h1 { font-size: 2.6rem; }
	h2 { margin-top: 88px; }
	.get .note.plat { grid-column: 1; grid-row: auto; margin-top: 36px; }
	/* The window keeps its desktop shape and shrinks, rather than squeezing its panes. */
	.fig1 { padding: 0; }
	.plate { padding: 18px 14px 70px; border-radius: 0; }
	.plate .hero-visual { width: 840px; max-width: none; }
	.plate .p-head { margin-bottom: 12px; }
}
@media (max-width: 860px) { .plate .hero-visual { zoom: 0.84; } }
@media (max-width: 720px) { .plate .hero-visual { zoom: 0.72; } }
@media (max-width: 620px) { .plate .hero-visual { zoom: 0.6; } }
@media (max-width: 520px) { .plate .hero-visual { zoom: 0.48; } .plate .p-scenes { display: none; } }
@media (max-width: 430px) { .plate .hero-visual { zoom: 0.425; } h1 { font-size: 2.15rem; } .big { font-size: 1.45rem; } .goahead { padding: 18px 16px; } .goahead .q { font-size: 1.4rem; } .goahead .body { grid-template-columns: 1fr; } .made dl { grid-template-columns: 1fr; gap: 2px; } .made dd { margin-bottom: 12px; } .get .big { font-size: 2rem; } }

/* ===== The site: shared pieces beyond the home page. ===== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bar nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
section.part > .note { grid-column: 2; grid-row: 2 / span 6; }
.essay a, .doc a, .page-head a { text-underline-offset: 3px; text-decoration-color: var(--rule); }
.essay a:hover, .doc a:hover { text-decoration-color: currentColor; }
.state { display: inline-block; font-size: 11px; font-weight: 650; padding: 2px 8px; border-radius: 99px; color: #fff; background: #2f9e5b; letter-spacing: 0.01em; }
@media (prefers-color-scheme: dark) { .state { background: #2b8a52; } }

/* A sub-page's head: its name and a line. */
.page-head { padding-top: 76px; padding-bottom: 8px; }
.page-head h1 { font-size: 3.25rem; }
.page-head .lede { max-width: 38em; }
.toc { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 30px; font-size: 15px; }
.toc a { color: var(--ink-soft); }
.toc a:hover { color: var(--ink); }

/* Features: each part as a list of names and what they do. */
.feats h2 { margin-top: 88px; }
.fl { grid-column: 1; margin: 0; display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0 28px; }
.fl dt { padding: 16px 0; border-top: 1px solid var(--rule); font-weight: 600; font-size: 1.0625rem; line-height: 1.45; }
.fl dd { margin: 0; padding: 14px 0 16px; border-top: 1px solid var(--rule); color: color-mix(in oklab, var(--ink) 84%, var(--ground)); font-size: 1.0625rem; line-height: 1.6; }
.feats .note { margin-top: 0; align-self: start; }

/* Margin figures on the home page. */
.issuefig, .relfig { max-width: 340px; padding: 14px 16px; border-radius: 10px; background: var(--card); box-shadow: 0 0 0 1px var(--edge), 0 10px 24px -18px #2a201650; font-size: 13px; }
.issuefig .it, .relfig .rt { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink); }
.issuefig .it code { margin-left: auto; color: var(--ink-faint); font-weight: 400; }
.issuefig .im { margin: 4px 0 12px; color: var(--ink-soft); font-size: 12px; }
.issuefig ol { list-style: none; margin: 0; padding: 0 0 0 12px; border-left: 2px solid var(--rule); display: flex; flex-direction: column; gap: 10px; }
.issuefig li { display: grid; grid-template-columns: 0 1fr; gap: 0; color: var(--ink-soft); line-height: 1.45; }
.issuefig li u { width: 9px; height: 9px; border-radius: 50%; margin: 5px 0 0 -18.5px; box-shadow: 0 0 0 3px var(--card); background: var(--accent); }
.issuefig li u.b { animation: breathe 1.4s ease-in-out infinite; }
.issuefig b, .relfig b { color: var(--ink); font-weight: 600; }
.issuefig code, .talk code, .checkfig code, .relfig code { font-size: 11.5px; }
.talk { max-width: 340px; display: flex; flex-direction: column; gap: 8px; }
.cm { display: flex; gap: 10px; padding: 11px 13px; border-radius: 10px; background: var(--card); box-shadow: 0 0 0 1px var(--edge); font-size: 13px; color: var(--ink-soft); }
.cm.re { margin-left: 26px; }
.cm b { color: var(--ink); font-weight: 600; }
.cm p { margin: 2px 0 0; color: var(--ink); line-height: 1.45; }
.cm > u { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 9.5px; font-weight: 700; text-decoration: none; color: #fff; background: #5b6bd0; }
.cm > u.b { border-radius: 6px; background: var(--accent); }
.checkfig { list-style: none; margin: 0; padding: 0; max-width: 340px; border-top: 1px solid var(--ink); font-size: 13px; }
.checkfig li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 2px 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--rule); color: var(--ink); }
.checkfig u { width: 8px; height: 8px; border-radius: 50%; background: #2f9e5b; transform: translateY(-1px); }
.checkfig u.bad { background: #d2453d; }
.checkfig em { font-style: normal; font: 400 11px var(--mono); color: var(--ink-faint); }
.checkfig small { grid-column: 2 / -1; font-size: 12px; color: var(--ink-soft); }
.relfig ul { margin: 10px 0; padding: 0 0 0 16px; color: var(--ink); line-height: 1.5; }
.relfig .rb { display: flex; gap: 6px; }
.relfig .rb span { font-size: 11.5px; padding: 3px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink-soft); }
.relfig .rb span::before { content: "✓ "; color: #2f9e5b; }
.relfig .rf { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--ink-soft); }
.cfg, .note pre.cfg { margin: 0; padding: 14px 16px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--rule); font: 400 12px/1.65 var(--mono); color: var(--ink); white-space: pre; overflow-x: auto; max-width: 380px; }
.cfg i { font-style: normal; color: var(--ink-faint); }
.queue.machines small { grid-column: 2 / -1; }

/* Figure 2's screenshots: an upload stopping at a 503, then retrying through. */
.mini { grid-template-rows: 12px auto 1fr; background: var(--card); }
.mini .bar0 { display: flex; align-items: center; gap: 6px; margin: 10px 10px 0; }
.mini .bar0 b { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #2f9e5b; }
.mini .bar0 b.bad { background: #d2453d; }
.mini .bar0 s { flex: 1; height: 6px; border-radius: 3px; background: color-mix(in oklab, var(--ink) 10%, transparent); position: relative; overflow: hidden; }
.mini .bar0 s::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 34%; background: #d2453d; border-radius: 3px; }
.mini .bar0 b.ok + s::after { width: 100%; background: #2f9e5b; }
.mini .lines { display: flex; flex-direction: column; gap: 5px; margin: 12px 10px; }
.mini .lines s { display: block; height: 4px; border-radius: 2px; background: color-mix(in oklab, var(--ink) 10%, transparent); }
.goahead .top .state { flex: none; }
.checks dd a { color: var(--ink); }

/* The home page's download: three equals. */
.oses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.os { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 12px; text-decoration: none; box-shadow: inset 0 0 0 1px var(--rule); transition: box-shadow 140ms, background 140ms; }
.os:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.os b { font-weight: 600; font-size: 17px; }
.os span { font-size: 13.5px; color: var(--ink-soft); }
.os[data-here] { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); }

/* The download page: three platforms side by side, none first. */
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.plat { position: relative; padding: 26px 24px 24px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--rule); display: flex; flex-direction: column; min-width: 0; }
.plat[data-here] { background: var(--card); box-shadow: inset 0 0 0 1px var(--edge), 0 24px 50px -36px #2a201660; }
.plat .you { position: absolute; top: 14px; right: 16px; margin: 0; font-size: 12px; color: var(--ink-soft); }
.plat h2 { margin: 0; font-size: 1.6rem; font-weight: 550; letter-spacing: -0.02em; }
.plat .req { margin: 4px 0 20px; font-size: 14.5px; color: var(--ink-soft); }
.plat .btn { align-self: flex-start; }
.plat .what { margin: 16px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.plat .or { margin: auto 0 0; padding-top: 18px; font-size: 13px; color: var(--ink-faint); }
.plat .line { margin-top: 8px; }
.plat .line code { font-size: 12px; }
.page-download .essay h2 { margin-top: 88px; }
.page-download .essay .line { grid-column: 1; }

/* Docs: their own contents on the left, the page in a reading column. */
.docs { display: grid; grid-template-columns: 13rem minmax(0, 42rem); gap: 64px; padding-top: 64px; }
.docnav { position: sticky; top: 28px; align-self: start; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.docnav small { font-size: 12.5px; font-weight: 600; color: var(--ink-faint); margin-bottom: 8px; }
.docnav a { color: var(--ink-soft); text-decoration: none; padding: 5px 0 5px 12px; border-left: 1.5px solid var(--rule); }
.docnav a:hover { color: var(--ink); }
.docnav a[aria-current="page"] { color: var(--ink); border-left-color: var(--ink); font-weight: 550; }
.doc { min-width: 0; font-size: 1.0625rem; line-height: 1.65; }
.doc .crumb { margin: 0 0 10px; font-size: 13.5px; color: var(--ink-faint); }
.doc h1 { font-size: 2.75rem; line-height: 1.1; margin: 0 0 18px; }
.doc h1 code { font-size: 0.9em; }
.doc .lede { margin: 0 0 8px; font-size: 1.2rem; }
.doc h2 { margin: 52px 0 12px; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.012em; }
.doc p { margin: 0 0 1em; }
.doc ul { padding-left: 1.2em; margin: 0 0 1em; }
.doc li { margin-bottom: 4px; }
.doc li b { font-weight: 600; }
pre.code { margin: 0 0 1.2em; padding: 14px 18px; border-radius: 10px; background: color-mix(in oklab, var(--ink) 4%, var(--ground)); box-shadow: inset 0 0 0 1px var(--rule); font: 400 13px/1.7 var(--mono); white-space: pre; overflow-x: auto; }
pre.code i { font-style: normal; color: var(--ink-faint); }
.doc p code, .doc li code { padding: 1px 5px; border-radius: 5px; background: color-mix(in oklab, var(--ink) 6%, var(--ground)); }
.callout { margin: 0 0 1.2em; padding: 14px 18px; border-left: 2px solid var(--accent); background: color-mix(in oklab, var(--accent) 6%, var(--ground)); border-radius: 0 10px 10px 0; font-size: 1rem; color: var(--ink-soft); }
.callout b { color: var(--ink); font-weight: 600; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--rule); }
.pager a { display: flex; flex-direction: column; text-decoration: none; font-weight: 550; color: var(--ink); }
.pager a.next { text-align: right; margin-left: auto; }
.pager small { font-size: 12.5px; font-weight: 400; color: var(--ink-faint); }

/* The changelog: versions down the column, each a list. */
.changelog { padding-top: 24px; }
.version { display: grid; grid-template-columns: 9rem minmax(0, var(--measure)); gap: 28px; padding: 26px 0; border-top: 1px solid var(--rule); }
.version h2 { margin: 0; font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.version h2 a { text-decoration: none; }
.version .latest { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink-soft); }
.version ul { margin: 0; padding: 0 0 0 1.1em; font-size: 1rem; line-height: 1.6; }
.version li { margin-bottom: 8px; }
.version code { font-size: 0.82em; padding: 1px 4px; border-radius: 4px; background: color-mix(in oklab, var(--ink) 6%, var(--ground)); }

@media (max-width: 1180px) {
	.platforms { gap: 12px; }
	.plat { padding: 22px 18px 18px; }
	.docs { grid-template-columns: 11rem minmax(0, 1fr); gap: 44px; }
}
@media (max-width: 860px) {
	section.part > .note { grid-column: 1; grid-row: auto; }
	.fl { grid-template-columns: 1fr; }
	.fl dt { padding-bottom: 2px; }
	.fl dd { border-top: 0; padding-top: 0; }
	.page-head { padding-top: 48px; }
	.page-head h1 { font-size: 2.5rem; }
	.platforms, .oses { grid-template-columns: 1fr; }
	.docs { grid-template-columns: 1fr; gap: 24px; padding-top: 36px; }
	.docnav { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 14px; }
	.docnav small { width: 100%; margin-bottom: 0; }
	.docnav a { border-left: 0; padding: 2px 0; }
	.docnav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
	.doc h1 { font-size: 2.1rem; }
	.version { grid-template-columns: 1fr; gap: 10px; }
	.version h2 { flex-direction: row; align-items: center; }
	.bar nav a:not(.dl):not([href$="docs/"]) { display: none; }
	.bar nav a { display: inline; }
}
.goahead .top b.state { color: #fff; }
