/* Same language as the app: tokens are the dark set of apps/desktop/src/app.css, rules in apps/desktop/DESIGN.md.
   Flat. No shadows, gradients, glows or blur: depth comes from surface steps, richness from type and pictures. */
@font-face {
	font-family: 'Inter Variable';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(/assets/fonts/inter-cyrillic.e1dea13a93.woff2) format('woff2-variations');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: 'Inter Variable';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(/assets/fonts/inter-latin.2c295d99e2.woff2) format('woff2-variations');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	color-scheme: dark;
	--bg: #141416;
	--surface: #1c1c1f;
	--surface-2: #232327;
	--surface-3: #2b2b30;
	--surface-4: #36363c;
	--button: #33333a;
	--button-hover: #3f3f47;
	--ink: #ececee;
	--ink-muted: #a3a3ab;
	--ink-faint: #8f8f97;
	--line: rgba(255, 255, 255, 0.09);
	--on-ink: #141416;
	--good: #5fc48e;
	--warn: #e0b050;
	--r-sm: 8px;
	--r: 12px;
	--r-lg: 16px;
	--r-pill: 999px;
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
	--font: 'Inter Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--gutter: clamp(16px, 4.45vw, 64px);
	--gap: 12px;
	--section: clamp(96px, 13vw, 200px);
}

* {
	box-sizing: border-box;
}

[hidden] {
	display: none !important;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px/1.5 var(--font);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
pre {
	margin: 0;
	padding: 0;
}

ul,
ol {
	list-style: none;
}

img,
svg {
	display: block;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	padding: 0;
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 2px;
}

h1,
h2 {
	font-weight: 600;
	text-wrap: balance;
}

h1 {
	font-size: clamp(44px, 8.1vw, 136px);
	line-height: 1;
	letter-spacing: -0.038em;
}

h2 {
	font-size: clamp(38px, 6.4vw, 104px);
	line-height: 1.02;
	letter-spacing: -0.034em;
}

h3 {
	font-size: 24px;
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

.lead {
	font-size: clamp(18px, 1.6vw, 22px);
	line-height: 1.4;
	color: var(--ink-muted);
}

.wrap {
	width: 100%;
	max-width: 1600px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.i {
	width: 18px;
	height: 18px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* company marks are solid shapes */
.brandmark {
	fill: currentColor;
	stroke: none;
}

.sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip {
	position: fixed;
	z-index: 30;
	top: 8px;
	left: 8px;
	padding: 8px 12px;
	border-radius: var(--r-sm);
	background: var(--ink);
	color: var(--on-ink);
	font-weight: 500;
	transform: translateY(-200%);
}

.skip:focus {
	transform: none;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 38px;
	padding: 0 16px;
	border-radius: var(--r);
	background: var(--button);
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	transition:
		background 0.12s var(--ease),
		opacity 0.12s var(--ease),
		transform 0.12s var(--ease);
}

.btn:hover {
	background: var(--button-hover);
}

.btn:active {
	transform: scale(0.97);
}

.btn.primary {
	background: var(--ink);
	color: var(--on-ink);
}

.btn.primary:hover {
	opacity: 0.86;
}

.btn.big {
	height: 44px;
	padding: 0 22px;
	font-size: 15px;
}

.btn.small {
	height: 32px;
	padding: 0 12px;
	border-radius: var(--r-sm);
	font-size: 13px;
}

.tool {
	width: 32px;
	height: 32px;
	flex: none;
	display: inline-grid;
	place-items: center;
	border-radius: var(--r-sm);
	color: var(--ink-muted);
	transition:
		background 0.12s var(--ease),
		color 0.12s var(--ease);
}

.tool:hover {
	background: var(--surface-3);
	color: var(--ink);
}

.link {
	display: inline-block;
	color: var(--ink-muted);
	text-decoration: underline;
	text-decoration-color: var(--surface-4);
	text-underline-offset: 3px;
	transition: color 0.12s var(--ease);
	/* a line of small text is hard to hit: the place a click counts is 28 px tall, the line stays where it was */
	padding-block: 4px;
	margin-block: -4px;
}

.link:hover {
	color: var(--ink);
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 26px;
	padding: 0 10px;
	border-radius: var(--r-pill);
	background: var(--surface-3);
	font-size: 12px;
	font-weight: 500;
	white-space: nowrap;
}

.chip .i {
	width: 14px;
	height: 14px;
}

.chip.good {
	color: var(--good);
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.chips.stack {
	flex-direction: column;
	align-items: flex-start;
}

/* the floating bar */
.nav-wrap {
	position: fixed;
	z-index: 20;
	top: 12px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	padding-inline: 12px;
	pointer-events: none;
}

.nav {
	position: relative;
	pointer-events: auto;
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	height: 48px;
	padding: 0 8px 0 16px;
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	background: var(--surface);
}

.brand {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 32px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -0.01em;
	white-space: nowrap;
	margin-right: 12px;
}

.boat {
	width: 20px;
	height: 21px;
	fill: currentColor;
}

.nav-links {
	display: flex;
	gap: 2px;
}

.nav-links a {
	display: flex;
	align-items: center;
	height: 32px;
	padding: 0 10px;
	border-radius: var(--r-sm);
	color: var(--ink-muted);
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	transition:
		background 0.12s var(--ease),
		color 0.12s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current] {
	background: var(--surface-3);
	color: var(--ink);
}

.nav-end {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: 8px;
}

.lang {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: var(--r-sm);
	color: var(--ink-muted);
	font-size: 12px;
	font-weight: 600;
	transition:
		background 0.12s var(--ease),
		color 0.12s var(--ease);
}

.lang:hover {
	background: var(--surface-3);
	color: var(--ink);
}

/* shows once the big button has gone: one primary per view */
.nav-get {
	display: none;
	border-radius: var(--r-pill);
}

.nav.past .nav-get {
	display: inline-flex;
}

.burger {
	display: none;
	position: relative;
}

.burger i {
	position: absolute;
	top: 15px;
	left: 8px;
	width: 16px;
	height: 2px;
	border-radius: 1px;
	background: currentColor;
	transition: transform 0.2s var(--ease);
}

.burger i:first-child {
	transform: translateY(-3px);
}

.burger i:last-child {
	transform: translateY(3px);
}

.nav.open .burger i:first-child {
	transform: rotate(45deg);
}

.nav.open .burger i:last-child {
	transform: rotate(-45deg);
}

/* hero: three models stand on the top edge of the window */
.hero {
	padding-top: clamp(104px, 9.4vw, 148px);
}

.hero-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px;
	margin-top: clamp(24px, 2.8vw, 40px);
}

.hero-text {
	display: grid;
	gap: 24px;
	flex: 1 1 560px;
	max-width: 600px;
	padding-bottom: clamp(32px, 3.4vw, 48px);
}

.facts {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	color: var(--ink-faint);
	font-size: 13px;
}

.get {
	display: grid;
	gap: 12px;
	justify-items: start;
}

.get-do {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.get-note {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	color: var(--ink-faint);
	font-size: 13px;
}

.get-note span:empty {
	display: none;
}

.get-why {
	max-width: 44ch;
	color: var(--ink-muted);
}

.get-soon {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 0 22px;
	border-radius: var(--r);
	background: var(--surface-2);
	color: var(--ink-muted);
	font-size: 15px;
	font-weight: 500;
}

.shelf {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	flex: 0 1 auto;
	min-width: 0;
	margin-bottom: clamp(-20px, -1.4vw, -12px);
}

.shelf img {
	width: clamp(120px, 19vw, 300px);
	min-width: 0;
	margin-left: clamp(-56px, -3.2vw, -24px);
}

.shelf img:first-child {
	width: clamp(120px, 21vw, 340px);
}

.hero-shot img {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--surface);
}

/* the wall */
.made {
	padding-top: var(--section);
}

.made-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: end;
	gap: 16px 64px;
}

.made-head .lead {
	max-width: 460px;
}

.wall {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-auto-flow: dense;
	gap: var(--gap);
	max-width: 1480px;
	margin: clamp(40px, 5vw, 72px) auto 0;
	padding-inline: var(--gap);
}

.wall-tile {
	position: relative;
	display: grid;
	place-items: center;
	min-width: 0;
	aspect-ratio: 1;
	border-radius: var(--r-lg);
	background: var(--surface);
	overflow: hidden;
}

.wall-tile:nth-child(3n + 2) {
	background: var(--surface-2);
}

/* six by three: two big tiles and a wide one fill it exactly with 11 pictures */
.wall-tile:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

.wall-tile:nth-child(8) {
	grid-column: 5 / 7;
	grid-row: 2 / 4;
}

.wall-tile:nth-child(9) {
	grid-column: span 2;
	aspect-ratio: auto;
}

.wall img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.wall .chip {
	position: absolute;
	left: 8px;
	bottom: 8px;
	max-width: calc(100% - 16px);
	overflow: hidden;
	text-overflow: ellipsis;
	color: var(--ink-muted);
	background: var(--surface-3);
}

/* bento */
.can {
	padding-top: var(--section);
}

.bento {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--gap);
	margin-top: clamp(40px, 5vw, 72px);
}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	min-width: 0;
	padding: clamp(20px, 2.2vw, 32px);
	border-radius: var(--r-lg);
	background: var(--surface);
	overflow: hidden;
}

.card-text {
	display: grid;
	gap: 8px;
	max-width: 44ch;
}

.card-text p {
	color: var(--ink-muted);
	font-size: 15px;
	line-height: 1.45;
}

.c-photo {
	grid-column: span 7;
	grid-row: span 2;
	justify-content: flex-start;
	background: var(--surface-2);
}

.c-photo-text {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	flex: 1;
	width: 46%;
	position: relative;
	z-index: 1;
}

.c-photo-img {
	position: absolute;
	right: -4%;
	bottom: -6%;
	width: 62%;
	max-width: 480px;
}

.times ul {
	display: grid;
	gap: 4px;
}

.times li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 8px 12px;
	border-radius: var(--r-sm);
	background: var(--surface-3);
	font-size: 13px;
}

.times span {
	color: var(--ink-muted);
}

.times strong {
	font-weight: 600;
	white-space: nowrap;
}

.times p {
	margin-top: 8px;
	color: var(--ink-faint);
	font-size: 12px;
}

.c-words {
	grid-column: span 5;
}

.prompt {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	min-height: 92px;
	padding: 12px 12px 12px 16px;
	border-radius: var(--r);
	background: var(--surface-3);
	font-size: 15px;
}

.prompt span {
	align-self: flex-start;
}

.send {
	display: grid;
	place-items: center;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: var(--r-sm);
	background: var(--ink);
	color: var(--on-ink);
}

.c-words .chips {
	margin-top: -12px;
}







.c-print {
	grid-column: span 5;
	flex-direction: row;
	align-items: stretch;
	background: var(--surface-2);
	padding-right: 0;
	padding-block: 0;
}

.c-print .card-text {
	align-content: center;
	flex: 1 1 50%;
	padding-block: clamp(20px, 2.2vw, 32px);
}

.c-print .chips {
	margin-top: 8px;
}

.c-print-fig {
	position: relative;
	flex: 1 1 50%;
	min-width: 0;
	background: var(--surface-3);
}

.c-print-fig img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.c-print-fig .chip {
	position: absolute;
	left: 12px;
	top: 12px;
	background: var(--surface);
}





.c-agents {
	grid-column: span 4;
}

.code {
	padding: 12px 16px;
	border-radius: var(--r);
	background: var(--surface-3);
	font: 12px/1.7 ui-monospace, Consolas, Menlo, monospace;
	color: var(--ink-muted);
	overflow: hidden;
	white-space: pre;
}

.c-plugins {
	grid-column: span 4;
}

.perms {
	display: grid;
	gap: 4px;
}

.perms li {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 4px 12px;
	border-radius: var(--r-sm);
	background: var(--surface-3);
	font-size: 13px;
}

.perms .i {
	width: 16px;
	height: 16px;
	color: var(--good);
}

.c-agents,
.c-plugins {
	justify-content: flex-start;
}

.c-agents .code,
.c-plugins .perms {
	margin-top: auto;
}

.c-trust {
	grid-column: 1 / -1;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
	background: var(--surface-2);
}




/* tagline: the words stay in the window while a tall track of markers passes the middle of it */
.tagline {
	margin-block: var(--section);
}

.js .tagline {
	margin-block: 0;
}

.tagline-sticky p {
	max-width: 1280px;
	font-size: clamp(32px, 5.2vw, 76px);
	line-height: 1.12;
	font-weight: 600;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.tagline-track {
	display: none;
}

.js .tagline {
	display: grid;
}

.js .tagline-track,
.js .tagline-sticky {
	grid-area: 1 / 1;
}

.js .tagline-track {
	display: block;
	padding-block: 40vh 60vh;
}

.tagline-track i {
	display: block;
	height: 36px;
}

.js .tagline-sticky {
	position: sticky;
	top: 0;
	align-self: start;
	display: flex;
	align-items: center;
	height: 100vh;
}

.w {
	transition: color 0.26s var(--ease);
}

.js .w {
	color: var(--button-hover);
}

.js .w.on {
	color: var(--ink);
}

/* steps */
.how {
	padding-top: 0;
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--gap);
	margin-top: clamp(40px, 5vw, 72px);
}

.steps li {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	border-radius: var(--r-lg);
	background: var(--surface);
	overflow: hidden;
}

.step-text {
	display: grid;
	gap: 8px;
	padding: clamp(20px, 2.2vw, 32px) clamp(20px, 2.2vw, 32px) 0;
}

.steps p {
	color: var(--ink-muted);
	font-size: 15px;
	line-height: 1.45;
}

.step-n {
	font-size: clamp(72px, 9vw, 136px);
	line-height: 1;
	font-weight: 600;
	letter-spacing: -0.05em;
	color: var(--surface-4);
	margin-bottom: 12px;
}

/* the window runs off the corner of the card */
.steps img {
	width: calc(100% - clamp(20px, 2.2vw, 32px));
	margin-left: auto;
	border-top-left-radius: var(--r);
}

/* tools */
.tools,
.models,
.download,
.faq {
	padding-top: var(--section);
}

.tools-head,
.models-head {
	display: grid;
	gap: 16px;
}

.tools-head .lead,
.models-head .lead,
.download-head .lead {
	max-width: 640px;
}

.tiles {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: var(--gap);
	margin-top: clamp(40px, 5vw, 72px);
}

.tile {
	display: grid;
	align-content: space-between;
	gap: 8px;
	padding-bottom: 12px;
	border-radius: var(--r-lg);
	background: var(--surface);
	overflow: hidden;
	font-size: 13px;
	font-weight: 500;
	color: var(--ink-muted);
}

.tile img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.tile span {
	padding-inline: 12px;
}

.tile-more {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 32px;
	padding: 24px clamp(20px, 2.2vw, 32px);
	border-radius: var(--r-lg);
	background: var(--surface-2);
	color: var(--ink-muted);
}

.tile-more strong {
	font-size: clamp(28px, 3vw, 44px);
	line-height: 1.1;
	font-weight: 600;
	letter-spacing: -0.03em;
	color: var(--ink);
	white-space: nowrap;
}

.tile-more span {
	flex: 1 1 320px;
	max-width: 70ch;
	text-wrap: pretty;
}

/* screenshots */



/* download */
.download-head {
	display: grid;
	gap: 16px;
}

.rows {
	display: grid;
	gap: 4px;
	margin-top: clamp(32px, 4vw, 56px);
}

.row {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 72px;
	padding: 12px 16px 12px 20px;
	border-radius: var(--r-lg);
	background: var(--surface);
}

.row .os {
	width: 24px;
	height: 24px;
	color: var(--ink-muted);
}

.row-name {
	display: grid;
	flex: 1;
	min-width: 0;
}

.row-name strong {
	font-size: 16px;
	font-weight: 600;
}

.row-name span,
.row-size {
	color: var(--ink-faint);
	font-size: 13px;
}

.row-size {
	white-space: nowrap;
}

.note {
	margin-top: 16px;
	max-width: 70ch;
	color: var(--ink-faint);
	font-size: 14px;
}

.bad-load {
	color: var(--ink);
}

/* questions */
.faq {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 32px 64px;
	align-items: start;
}

.qa {
	display: grid;
	gap: 4px;
}

details {
	border-radius: var(--r);
	background: var(--surface);
}

summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 56px;
	padding: 12px 16px 12px 20px;
	border-radius: var(--r);
	font-size: 17px;
	font-weight: 500;
	cursor: pointer;
	list-style: none;
}

summary::-webkit-details-marker {
	display: none;
}

summary .i {
	color: var(--ink-faint);
	transition: transform 0.2s var(--ease);
}

details[open] summary .i {
	transform: rotate(180deg);
}

details p {
	max-width: 65ch;
	padding: 0 20px 20px;
	color: var(--ink-muted);
}

/* end of the page */
.final {
	display: grid;
	gap: 16px;
	justify-items: center;
	padding-top: var(--section);
	padding-bottom: var(--section);
	text-align: center;
}

.final .get {
	margin-top: 16px;
	justify-items: center;
}

.final .get-do,
.final .get-note {
	justify-content: center;
}

.footer {
	background: var(--surface);
	border-top-left-radius: var(--r-lg);
	border-top-right-radius: var(--r-lg);
	overflow: hidden;
}

.footer-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px 48px;
	padding-top: 40px;
	font-size: 14px;
	color: var(--ink-muted);
}

.footer-row ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

.wordmark {
	margin-top: 24px;
	font-size: calc((100vw - 2 * var(--gutter)) / 5.94);
	line-height: 1;
	font-weight: 600;
	letter-spacing: -0.055em;
	white-space: nowrap;
	text-align: center;
	color: var(--surface-4);
}

/* the 404 page */
.lost main {
	display: grid;
	gap: 16px;
	justify-items: start;
	align-content: center;
	min-height: 100vh;
	padding-block: 48px;
}

.lost-code {
	font-size: clamp(120px, 26vw, 320px);
	line-height: 0.9;
	font-weight: 600;
	letter-spacing: -0.06em;
	color: var(--surface-4);
}

.lost-do {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

/* appearing: short and small, within the app's motion limits */
.js .reveal {
	opacity: 0;
	transform: translateY(16px);
	transition:
		opacity 0.4s var(--ease),
		transform 0.4s var(--ease);
}

.js .reveal.in {
	opacity: 1;
	transform: none;
}

@media (max-width: 1120px) {
	.burger {
		display: inline-block;
	}

	.nav-links {
		position: absolute;
		top: calc(100% + 8px);
		left: 0;
		right: 0;
		flex-direction: column;
		padding: 8px;
		border: 1px solid var(--line);
		border-radius: var(--r-lg);
		background: var(--surface);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition:
			opacity 0.2s var(--ease),
			transform 0.2s var(--ease),
			visibility 0.2s;
	}

	.nav.open .nav-links {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.nav-links a {
		height: 44px;
		font-size: 15px;
	}

	.nav {
		width: 100%;
		max-width: 560px;
	}

	.brand {
		margin-right: auto;
	}

	.bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bento {
		grid-auto-flow: dense;
	}

	.c-photo,
	.c-print,
	.c-assistant,
	.c-trust {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.c-photo-img {
		right: 0;
		bottom: -4%;
		width: auto;
		height: 108%;
	}

	.c-words,
	.c-desk,
	.c-agents,
	.c-plugins {
		grid-column: span 1;
	}

	.tiles {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.faq {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 820px) {
	.hero-row {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.hero-text {
		flex: none;
	}

	.shelf {
		align-self: flex-end;
	}

	.wall {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		padding-inline: 8px;
		gap: 8px;
	}

	.wall-tile:nth-child(8) {
		grid-column: auto;
		grid-row: auto;
	}

	.steps {
		grid-template-columns: minmax(0, 1fr);
	}

	.step-n {
		margin-bottom: 8px;
	}

}

@media (max-width: 620px) {
	.nav {
		padding-left: 12px;
	}

	.bento {
		grid-template-columns: minmax(0, 1fr);
	}

	.bento > .card {
		grid-column: auto;
	}

	.c-photo-text {
		width: auto;
	}

	.c-photo-img {
		position: static;
		width: 100%;
		height: auto;
		margin: -24px 0 -32px;
	}

	.c-print {
		flex-direction: column;
		padding: 0;
	}

	.c-print .card-text {
		padding: 20px 20px 0;
	}

	.c-print-fig {
		aspect-ratio: 4 / 3;
		flex: none;
	}

	.times ul {
		grid-template-columns: minmax(0, 1fr);
	}

	.wall {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wall-tile:nth-child(9) {
		grid-column: auto;
		aspect-ratio: 1;
	}

	.tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.row {
		display: grid;
		grid-template-columns: 24px minmax(0, 1fr) auto;
		gap: 12px 16px;
		padding: 16px;
	}

	.row-mine,
	.row-soon {
		grid-area: 1 / 3;
		justify-self: end;
	}

	.row-size {
		grid-area: 2 / 2;
		align-self: center;
	}

	.row-get {
		grid-area: 2 / 3;
	}

}

/* CAD and OpenSCAD: words above, the real window under them, running off the card's corner */
.c-desk {
	grid-column: span 6;
	justify-content: flex-start;
	padding-right: 0;
	padding-bottom: 0;
	background: var(--surface-2);
}

.desk-shot {
	display: block;
	width: 100%;
	margin-top: auto;
	border-top-left-radius: var(--r);
	border: 1px solid var(--line);
	border-right: 0;
	border-bottom: 0;
}

.c-assistant {
	grid-column: span 4;
	justify-content: flex-start;
}

.talk {
	display: grid;
	gap: 8px;
	margin-top: auto;
	font-size: 13px;
}

.said {
	justify-self: end;
	max-width: 86%;
	padding: 10px 14px;
	border-radius: var(--r) var(--r) var(--r-sm) var(--r);
	background: var(--surface-4);
}

.plan {
	display: grid;
	gap: 4px;
	padding: 10px 12px;
	border-radius: var(--r);
	background: var(--surface-3);
	list-style: none;
}

.plan li {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--ink-muted);
}

.plan .i {
	width: 14px;
	height: 14px;
	color: var(--good);
}

.doing {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--ink-faint);
}

.doing i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--good);
	animation: breathe 1.6s var(--ease) infinite;
}

@keyframes breathe {
	50% {
		opacity: 0.3;
	}
}

.c-trust .card-text {
	flex: 1 1 280px;
}

.trust-rows {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	flex: 2 1 480px;
	list-style: none;
}

.trust-rows li {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 200px;
	min-height: 44px;
	padding: 10px 14px;
	border-radius: var(--r);
	background: var(--surface-3);
	font-size: 14px;
	line-height: 1.3;
}

.trust-rows .i {
	flex: none;
	width: 16px;
	height: 16px;
	color: var(--good);
}

/* AI models, made from the app's catalog */
.model-groups {
	columns: 2;
	column-gap: var(--gap);
	margin-top: clamp(40px, 5vw, 72px);
}

.model-group,
.model-more {
	break-inside: avoid;
	margin-bottom: var(--gap);
}

.model-group {
	padding: clamp(20px, 2.2vw, 32px);
	border-radius: var(--r-lg);
	background: var(--surface);
}

.group-head {
	display: grid;
	gap: 6px;
	margin-bottom: 8px;
}

.group-head h3 {
	display: flex;
	align-items: center;
	gap: 10px;
}

.count {
	display: inline-grid;
	place-items: center;
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	border-radius: var(--r-pill);
	background: var(--surface-3);
	color: var(--ink-muted);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
}

.group-head p {
	color: var(--ink-muted);
	font-size: 15px;
}

.model-list {
	list-style: none;
}

.model {
	display: grid;
	gap: 6px;
	padding: 16px 0;
	border-top: 1px solid var(--line);
}

.model:last-child {
	padding-bottom: 0;
}

.model-top {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
}

.model-name {
	color: var(--ink);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.01em;
	text-decoration: none;
	text-underline-offset: 3px;
}

.model-name:hover {
	text-decoration: underline;
	text-decoration-color: var(--surface-4);
}

.model-by {
	color: var(--ink-faint);
	font-size: 13px;
}

.model-what {
	color: var(--ink-muted);
	font-size: 15px;
	line-height: 1.45;
	text-wrap: pretty;
}

.model-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 4px;
	list-style: none;
}

.model-facts .chip {
	height: 24px;
	padding: 0 9px;
}

.chip.quiet {
	color: var(--ink-muted);
	background: var(--surface-2);
}

.chip.warn {
	color: var(--warn);
}

.chip.time {
	font-variant-numeric: tabular-nums;
}

.model-more {
	display: grid;
	gap: var(--gap);
	list-style: none;
}

.model-more li {
	display: grid;
	gap: 4px;
	padding: 20px clamp(20px, 2.2vw, 32px);
	border-radius: var(--r-lg);
	border: 1px solid var(--line);
	font-size: 15px;
}

.model-more span {
	color: var(--ink-muted);
}

.models-note {
	max-width: 760px;
	margin-top: 8px;
}

@media (max-width: 1120px) {
	.c-agents {
		grid-column: span 1;
	}
}

@media (max-width: 820px) {
	.model-groups {
		columns: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
	}

	/* the tagline stands as plain text */
	.js .tagline {
		margin-block: var(--section);
	}

	.js .tagline-track {
		display: none;
	}

	.js .tagline-sticky {
		position: static;
		height: auto;
	}

	.js .w {
		color: var(--ink);
	}
}
