/* /launch — the 1.0 landing page ("the image editor Hollywood promised us").
   Builds on styles.css (tokens, header, footer, buttons). The pages split off
   it (/features/, /pledge/, /faq/) load this file too, for the headings, the
   bracket frames and the .todo marker. The download card is styles.css's. */

.lp {
	background-color: var(--bg);
}
/* A gap in the copy, left visible on purpose while the page is iterated. */
.todo {
	font-family: var(--font-mono);
	font-size: 0.78em;
	color: var(--amber);
	border: 1px dashed var(--amber-border);
	border-radius: var(--radius-sm);
	padding: 0.05em 0.45em;
	white-space: nowrap;
}
.todo::before {
	content: 'TODO · ';
	opacity: 0.7;
}

/* ───────── Type ───────── */

.lp-h2 {
	font-size: clamp(34px, 5.2vw, 64px);
	line-height: 1.02;
	letter-spacing: -0.04em;
}
.lp-h3 {
	font-size: clamp(19px, 1.9vw, 23px);
	line-height: 1.2;
	letter-spacing: -0.02em;
}
.lp-eyebrow {
	font-family: var(--font-mono);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--amber);
	margin: 0 0 14px;
}
.lp-lede {
	color: var(--text-muted);
	font-size: clamp(17px, 1.6vw, 19px);
	max-width: 46ch;
	margin: 18px 0 0;
}
.lp-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 16px;
}
.lp-more span {
	transition: translate 0.2s var(--ease);
}
.lp-more:hover span {
	translate: 4px 0;
}

.lp-section {
	padding-block: clamp(64px, 9vw, 128px);
	position: relative;
	z-index: 2;
}

/* ───────── The big download button ───────── */

.lp-cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin-top: 44px;
}
.lp-btn-xl {
	position: relative;
	overflow: hidden;
	gap: 12px;
	font-size: 18px;
	padding: 19px 36px 19px 30px;
	border-radius: 999px;
}
.lp-btn-xl svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
/* A slow highlight crossing the button, so the eye finds it. */
.lp-btn-xl::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		105deg,
		transparent 35%,
		rgba(255, 255, 255, 0.45) 50%,
		transparent 65%
	);
	translate: -120% 0;
	animation: lp-sheen 5.5s var(--ease-in-out) 1.2s infinite;
	pointer-events: none;
}
@keyframes lp-sheen {
	0% {
		translate: -120% 0;
	}
	22%,
	100% {
		translate: 120% 0;
	}
}
/* ───────── Hero ───────── */

/* The words and the download on the left, the film on the right, all of it on the
   first screen. */
.lp-hero {
	position: relative;
	z-index: 2;
	padding-block: clamp(40px, 5vw, 72px) clamp(48px, 6vw, 88px);
}
.lp-hero-split {
	display: grid;
	grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
	gap: clamp(32px, 4vw, 56px);
	align-items: center;
}
.lp-hero .lp-cta {
	align-items: flex-start;
	margin-top: 32px;
}
/* The note under the hero's button stays on one line: its type follows the width of the
   column it sits in (41.5 em of text, so 2.38% of the column an em). */
.lp-hero-text {
	container-type: inline-size;
}
.lp-hero .lp-cta-note {
	justify-content: flex-start;
	flex-wrap: nowrap;
	font-size: clamp(11px, 2.38cqi, 13px);
}
.lp-hero .lp-frame {
	background: #080808;
}
/* The glow starts at the top of the page, behind the header (68 px, see-through until the
   first scroll): starting under the header drew a dark band across the nav. */
.lp-hero::before {
	content: '';
	position: absolute;
	inset: -68px 0 auto;
	height: calc(110% + 68px);
	background: radial-gradient(
		ellipse 55% 50% at 50% 20%,
		rgba(240, 162, 58, 0.14),
		transparent 70%
	);
	pointer-events: none;
	z-index: -1;
}
.lp-title {
	font-size: clamp(38px, 4.2vw, 60px);
	line-height: 1.02;
	letter-spacing: -0.04em;
}
.lp-glow {
	background: linear-gradient(100deg, #fde4b8 0%, var(--amber) 48%, #ff7b3a 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.lp-sub {
	font-size: clamp(18px, 2vw, 23px);
	line-height: 1.45;
	color: var(--text-muted);
	max-width: 30ch;
	margin: 24px 0 0;
	text-wrap: balance;
}

/* ───────── Frames: every picture and clip, with the app's targeting brackets ───────── */

.lp-frame {
	position: relative;
	aspect-ratio: var(--ar, 16 / 9);
	background: #121210;
}
.lp-frame > video,
.lp-frame > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* A screen recording is letterboxed, never cropped: its edges are the app's
   own near-black chrome, so the bars disappear into it. */
.lp-frame > video {
	object-fit: contain;
	background: #0b0b0b;
}
.lp-frame.is-empty > video {
	display: none;
}
/* Corner brackets, like the TargetFrame the app draws around what it found.
   They close in on the frame as it scrolls into view. */
.hud::after {
	content: '';
	position: absolute;
	inset: -12px;
	pointer-events: none;
	--l: 26px;
	--w: 1.5px;
	opacity: 0.5;
	transition:
		inset 0.9s var(--ease),
		opacity 0.9s var(--ease);
}
.lp-js .hud:not(.is-locked)::after {
	inset: -34px;
	opacity: 0;
}
.hud:hover::after {
	inset: -7px;
	opacity: 0.95;
}

/* A slot for a clip that isn't recorded yet. */
.lp-slot {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	gap: 10px;
	text-align: center;
	overflow: hidden;
	background:
		radial-gradient(circle at 50% 45%, rgba(240, 162, 58, 0.1), transparent 62%),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 4px), #0f0f0e;
}
.lp-slot::before {
	content: '';
	position: absolute;
	inset: 0 0 auto;
	height: 30%;
	background: linear-gradient(transparent, rgba(240, 162, 58, 0.07), transparent);
	animation: lp-scan 4.5s linear infinite;
}
@keyframes lp-scan {
	from {
		translate: 0 -100%;
	}
	to {
		translate: 0 340%;
	}
}
.lp-slot-label {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(18px, 2.4vw, 30px);
	letter-spacing: -0.02em;
	color: var(--text-strong);
}
.lp-slot-file {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--text-dim);
}

/* ───────── Hero film ───────── */

.lp-film {
	position: relative;
	z-index: 2;
	padding-bottom: clamp(40px, 8vw, 110px);
}
.lp-film .lp-frame {
	box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.9);
}
/* Offered when the film ends, on its end card, below the tagline. */
.lp-film-end {
	position: absolute;
	left: 50%;
	bottom: clamp(6px, 6%, 44px);
	translate: -50% 0;
	display: flex;
	gap: 10px;
	animation: lp-replay-in 0.4s var(--ease) both;
}
.lp-film-end[hidden] {
	display: none;
}
.lp-replay svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}
@keyframes lp-replay-in {
	from {
		opacity: 0;
		translate: -50% 8px;
	}
}
/* ───────── The app, with panels lifted off it ───────── */

/* The panels hang past the picture's left, right and bottom edges; the room below is
   for the two that hang lowest. */
.lp-app {
	padding-block: clamp(24px, 4vw, 56px) clamp(90px, 15vw, 210px);
}
.lp-stack {
	position: relative;
	container-type: inline-size;
}
/* Some things reach past the page's margin on a narrow window: the lifted panels stick out
   past the app's edges, and a frame's brackets start 34 px out before they close in.
   Clipped here (clip, not hidden: no scroll container, so sticky still works), they never
   make the page scroll sideways. */
main {
	overflow-x: clip;
}
.lp-lift {
	position: absolute;
	left: calc(var(--x) * 1%);
	top: calc(var(--y) * 1%);
	width: calc(var(--w) * 1%);
	height: auto;
	border-radius: 0.8cqi;
	box-shadow:
		0 2.4cqi 6cqi -1.6cqi rgba(0, 0, 0, 0.85),
		0 0 0 1px var(--border-strong);
}
/* They lift off the picture one after another as it scrolls into view (launch.js adds
   .in-view); with reduced motion they are simply there. */
@media (prefers-reduced-motion: no-preference) {
	.lp-js .lp-lift {
		transition:
			opacity 0.7s var(--ease),
			translate 0.9s var(--ease),
			scale 0.9s var(--ease);
		transition-delay: calc(var(--i) * 90ms);
	}
	.lp-js .lp-stack:not(.in-view) .lp-lift {
		opacity: 0;
		translate: calc(var(--fx) * 1cqi) 2cqi;
		scale: 0.94;
	}
}

/* ───────── Feature scenes ───────── */

.lp-scene {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
	margin-bottom: clamp(100px, 13vw, 180px);
}
.lp-scene:nth-of-type(even) {
	grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
}
.lp-scene:nth-of-type(even) .lp-scene-text {
	order: 2;
}
/* A clip keeps its own shape, and never grows taller than most of the window: a squarer
   clip is narrower, centered in its column. */
.lp-scene .lp-frame {
	width: min(100%, calc(70svh * var(--ar)));
	margin-inline: auto;
}
.lp-scene .lp-h2 {
	font-size: clamp(32px, 3.8vw, 52px);
}
.lp-scene-text p:not(.lp-eyebrow) {
	color: var(--text-muted);
	font-size: clamp(17px, 1.5vw, 19px);
	max-width: 30ch;
	margin: 20px 0 0;
}
.lp-tiles {
	--tile-gap: clamp(28px, 3.5vw, 48px);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(56px, 7vw, 96px) var(--tile-gap);
}
/* A last tile alone on its row sits centered, a tile wide. */
.lp-tile:last-child:nth-child(odd) {
	grid-column: 1 / -1;
	justify-self: center;
	width: calc((100% - var(--tile-gap)) / 2);
}
.lp-tile .lp-frame {
	margin-bottom: 26px;
}
.lp-tile .lp-eyebrow {
	margin-bottom: 8px;
}
/* A tile's optional line under its title: the scene paragraph, a size down. */
.lp-tile p:not(.lp-eyebrow) {
	color: var(--text-muted);
	font-size: 16px;
	line-height: 1.5;
	max-width: 42ch;
	margin: 8px 0 0;
}

/* Every clip stops and starts on a click, on itself or on this button (launch.js). In a
   frame it sits in the corner and shows on hover, on focus, and while the clip is
   stopped by hand; under the film it is always there. */
.lp-frame:has(> .lp-toggle) > video,
.lp-player video {
	cursor: pointer;
}
.lp-toggle {
	position: relative;
	display: grid;
	place-items: center;
	flex: none;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid var(--border-strong);
	border-radius: 50%;
	background: rgba(10, 10, 9, 0.66);
	color: var(--text-strong);
	cursor: pointer;
	transition:
		opacity 0.2s var(--ease),
		background-color 0.2s var(--ease),
		scale 0.2s var(--ease);
}
/* A 48 px target around a 36 px button. */
.lp-toggle::before {
	content: '';
	position: absolute;
	inset: -6px;
}
.lp-toggle:hover {
	background: rgba(40, 38, 34, 0.9);
}
.lp-toggle:active {
	scale: 0.94;
}
.lp-toggle svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}
.lp-toggle[data-state='paused'] .lp-i-pause,
.lp-toggle[data-state='playing'] .lp-i-play {
	display: none;
}
.lp-frame > .lp-toggle {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 1;
	opacity: 0;
}
.lp-frame:hover > .lp-toggle,
.lp-frame > .lp-toggle:focus-visible,
.lp-frame > .lp-toggle.is-shown {
	opacity: 1;
}

/* Under the film: the button, then one pill per chapter, as wide as the chapter is long. */
.lp-controls {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 14px;
}
.lp-controls .lp-dots {
	flex: 1;
	gap: 4px;
	margin-top: 0;
}
.lp-controls .lp-dots button {
	flex: var(--w, 1) 1 0;
	width: auto;
	min-width: 0;
}
/* A film pill names the chapter it jumps to, above it, on hover or keyboard focus. */
.lp-controls .lp-dots button[data-title]::before {
	content: attr(data-title);
	position: absolute;
	bottom: calc(100% + 4px);
	left: 50%;
	translate: -50% 4px;
	padding: 6px 9px;
	border-radius: var(--radius-md);
	background: var(--surface);
	box-shadow:
		0 0 0 1px var(--border-strong),
		0 10px 28px -6px rgba(0, 0, 0, 0.7);
	color: var(--text-strong);
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition:
		opacity 0.15s var(--ease),
		translate 0.15s var(--ease);
	z-index: 3;
}
.lp-controls .lp-dots button[data-title]:hover::before,
.lp-controls .lp-dots button[data-title]:focus-visible::before {
	opacity: 1;
	translate: -50% 0;
}

/* The hero film's sound button: a speaker, crossed out while muted. */
.lp-sound svg {
	width: 22px;
	height: 22px;
}
.lp-sound .lp-i-waves,
.lp-sound .lp-i-mute {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
}
.lp-sound[data-state='muted'] .lp-i-waves,
.lp-sound[data-state='on'] .lp-i-mute {
	display: none;
}
.lp-enlarge svg,
.lp-film-close svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.lp-enlarge[data-state='small'] .lp-i-shrink,
.lp-enlarge[data-state='large'] .lp-i-grow {
	display: none;
}

/* The hero film, large: a click on it (or the enlarge button) lifts it, controls and all,
   into this dialog over the page (launch.js ▸ the hero film); its width is set there, to
   what fits the window. On the page a click enlarges; in here it plays and pauses. */
.lp-player [data-film] > video {
	cursor: zoom-in;
}
.lp-film-dialog [data-film] > video {
	cursor: pointer;
}
.lp-film-dialog {
	max-width: none;
	max-height: none;
	padding: 0;
	border: 0;
	overflow: visible;
	background: none;
	color: inherit;
}
.lp-film-dialog:focus {
	outline: none;
}
.lp-film-dialog::backdrop {
	background: rgba(8, 8, 7, 0.94);
	backdrop-filter: blur(12px);
}
.lp-film-close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
}
html:has(.lp-film-dialog[open]) {
	overflow: hidden;
}
/* The film and its controls glide between the page and the dialog. */
[data-film] {
	view-transition-name: lp-film;
}
[data-film] + .lp-controls {
	view-transition-name: lp-film-controls;
}

/* Three ways of working, side by side: the frames share a height, and each is as wide
   as its picture. */
.lp-flows {
	display: flex;
	gap: var(--tile-gap, clamp(28px, 3.5vw, 48px));
	margin-top: clamp(72px, 9vw, 128px);
}
.lp-flows .lp-tile {
	flex: calc(var(--ar)) 1 0px;
	min-width: 0;
}
.lp-flows .lp-frame {
	aspect-ratio: var(--ar);
}
/* A frame that cross-fades through its pictures (launch.js, data-cycle): the first
   stays underneath, the rest fade in over it. */
[data-cycle] > img + img {
	opacity: 0;
	transition: opacity 0.7s var(--ease);
}
[data-cycle] > img.is-on {
	opacity: 1;
}

/* Clips that play in turn, one progress pill each (launch.js, data-playlist). */
.lp-playlist .lp-video {
	opacity: 0;
	transition: opacity 0.5s var(--ease);
}
.lp-playlist .lp-video.is-on {
	opacity: 1;
}
.lp-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 18px;
}
.lp-dots button {
	position: relative;
	width: 40px;
	height: 24px;
	padding: 10px 0;
	border: 0;
	border-radius: 2px;
	background: rgba(250, 246, 238, 0.16);
	background-clip: content-box;
	cursor: pointer;
	transition: background-color 0.2s var(--ease);
}
.lp-dots button:hover {
	background-color: rgba(250, 246, 238, 0.3);
}
.lp-dots button::after {
	content: '';
	position: absolute;
	inset: 10px 0;
	border-radius: 2px;
	background: var(--amber);
	transform-origin: left;
	transform: scaleX(var(--p, 0));
	transition: transform 0.3s linear;
}

/* ───────── The founders' price (shown by launch.js while its coupon is live) ───────── */

.lp-list-price,
.lp-list-price + strong {
	white-space: nowrap;
}
.is-founders .lp-list-price {
	text-decoration: line-through;
	color: var(--text-muted);
}
.lp-founders {
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--amber-hover);
	margin: 8px 0 0;
	animation: lp-founders-in 0.5s var(--ease);
}
@keyframes lp-founders-in {
	from {
		opacity: 0;
		translate: 0 4px;
	}
}

/* ───────── AI models: who makes them ───────── */

/* Twelve makers: three columns of four on a wide screen, two of six below that. */
.lp-makers {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: clamp(16px, 2vw, 28px);
	list-style: none;
	padding: 0;
	margin: 0;
}
.lp-makers li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 0;
	border-top: 1px solid var(--border);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(15px, 1.25vw, 16px);
	letter-spacing: -0.01em;
	color: var(--text-strong);
}
.lp-makers img {
	width: 22px;
	height: 22px;
	filter: brightness(0) invert(1);
	opacity: 0.85;
}

/* What five models do best: a picture each made, the specialty, then who. */
.lp-best {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: clamp(16px, 2.4vw, 32px);
	list-style: none;
	margin-top: clamp(48px, 6vw, 80px);
}
.lp-best > li > img {
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	background: #121210;
	margin-bottom: 18px;
}
.lp-best p {
	margin: 6px 0 0;
	font-size: 15px;
	color: var(--text-muted);
}
.lp-best p img {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 8px;
	vertical-align: -2px;
	filter: brightness(0) invert(1);
	opacity: 0.7;
}

/* ───────── A real editor underneath ───────── */

.lp-split {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(36px, 6vw, 88px);
	align-items: center;
}
.lp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 30px 0 34px;
}
.lp-chips li {
	font-family: var(--font-mono);
	font-size: 12.5px;
	padding: 7px 13px;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	color: var(--text);
}

/* ───────── Discover: tabs of things you can do (launch.js, data-discover) ─────────
   A tab per kind of problem, an item per thing you can do, its clip or pictures on the
   stage. .is-row (Depth) puts the items in a row under a wide stage. Without JavaScript
   every panel shows, each with its first picture. */

.lp-dx-head {
	max-width: 780px;
	margin-bottom: clamp(32px, 4.5vw, 52px);
}
.lp-dx-head .lp-h2,
.lp-dx-head .lp-lede {
	text-wrap: balance;
}
/* About as wide as the headline above it: at .lp-lede's 46ch, balance split a sentence
   that fits on one line into two short ones. */
.lp-dx-head .lp-lede {
	max-width: 62ch;
}
.lp-dx-head.is-center {
	margin-inline: auto;
	text-align: center;
}
.lp-dx-head.is-center .lp-lede {
	margin-inline: auto;
	max-width: 58ch;
}
/* The hairline is an inset shadow and the underline sits inside the row: anything
   reaching past the row's bottom made it scrollable by a pixel, and a vertical scroll
   over the tabs then scrolled the row instead of the page. */
.lp-dx-cats {
	display: flex;
	gap: clamp(22px, 2.8vw, 40px);
	margin-bottom: clamp(24px, 3vw, 36px);
	box-shadow: inset 0 -1px 0 var(--border);
	overflow: auto hidden;
	scrollbar-width: none;
}
.lp-dx-cats [role='tab'] {
	position: relative;
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	padding: 14px 0 16px;
	border: 0;
	background: none;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--text-muted);
	cursor: pointer;
	transition: color 0.2s var(--ease);
}
.lp-dx-cats [role='tab']:hover {
	color: var(--text-strong);
}
.lp-dx-cats [role='tab'][aria-selected='true'] {
	color: var(--text-strong);
}
.lp-dx-cats [role='tab']::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--amber);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--ease);
}
.lp-dx-cats [role='tab'][aria-selected='true']::after {
	transform: scaleX(1);
}
/* How many things are in a tab: the depth shows even in the ones never opened. */
.lp-dx-count {
	font-size: 10.5px;
	letter-spacing: 0.06em;
	color: var(--text-dim);
}
[aria-selected='true'] > .lp-dx-count {
	color: var(--amber);
}
.lp-dx-panel {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
	gap: clamp(24px, 3.5vw, 52px);
	align-items: start;
}
.lp-dx-panel[hidden],
.lp-dx [data-off] {
	display: none;
}
.lp-dx-panel + .lp-dx-panel {
	margin-top: 64px;
}
.lp-dx-items {
	display: grid;
	gap: 2px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.lp-dx-item {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	padding: 14px 18px 15px;
	border: 0;
	border-radius: var(--radius-md);
	background: transparent;
	color: var(--text-muted);
	text-align: left;
	font: inherit;
	cursor: pointer;
	overflow: hidden;
	transition:
		background-color 0.25s var(--ease),
		color 0.25s var(--ease);
}
.lp-dx-item:hover {
	color: var(--text-strong);
	background: rgba(243, 236, 224, 0.035);
}
.lp-dx-title {
	display: block;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(16px, 1.3vw, 18px);
	line-height: 1.3;
	letter-spacing: -0.01em;
}
.lp-dx-desc {
	display: block;
	margin-top: 6px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--text-muted);
}
.lp-js .lp-dx-item:not([aria-pressed='true']) .lp-dx-desc {
	display: none;
}
.lp-dx-item[aria-pressed='true'] {
	color: var(--text-strong);
	background: var(--surface);
}
.lp-dx-item[aria-pressed='true']::before {
	content: '';
	position: absolute;
	left: 0;
	top: 12px;
	bottom: 12px;
	width: 2px;
	background: var(--amber);
}
/* While it plays through on its own, the item on show fills a bar as its turn runs. */
.lp-dx-item::after {
	content: '';
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 0;
	height: 2px;
	background: var(--amber);
	opacity: 0;
	transform: scaleX(var(--p, 0));
	transform-origin: left;
}
.lp-dx-item.is-auto::after {
	opacity: 0.6;
}
.lp-dx-item.is-timing::after {
	transform: scaleX(1);
	transition: transform var(--dur, 5s) linear;
}
.lp-dx-stage {
	position: relative;
	aspect-ratio: var(--ar, 4 / 3);
	background: #0b0b0b;
}
.lp-dx-media,
.lp-dx-media > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
video.lp-dx-media,
.lp-dx-media > img {
	object-fit: contain;
}
/* Pictures that should fill the frame rather than sit in bars (the skies). */
.lp-dx-media.is-fill > img {
	object-fit: cover;
}
.lp-js .lp-dx-media {
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.45s var(--ease),
		visibility 0s 0.45s;
}
.lp-js .lp-dx-media.is-on {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.45s var(--ease);
}
body:not(.lp-js) .lp-dx-stage > .lp-dx-media:not(:first-child) {
	display: none;
}

/* A before / after drawn like the app's compare divider (viewport-compare-preview.svelte.js):
   BEFORE left, AFTER right, a 1.5 px white line broken around a hollow knob, the tags in the
   top corners, each clipped with its half. It sweeps by itself (one sweep per Discover
   dwell, 5.2 s) until the visitor takes the divider (launch.js ▸ sweeps, .is-held). At rest
   it sits where the app's comes to rest, 20 % from the left. */
@property --sweep-x {
	syntax: '<percentage>';
	inherits: true;
	initial-value: 20%;
}
.lp-sweep-pic {
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	width: min(100%, calc(100% * var(--pic) / (var(--ar))));
	aspect-ratio: var(--pic);
	cursor: ew-resize;
	touch-action: pan-y;
	user-select: none;
}
.lp-sweep.is-on .lp-sweep-pic {
	animation: lp-sweep 5.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.lp-sweep.is-held .lp-sweep-pic {
	animation: none;
}
.lp-dx.is-paused .lp-sweep-pic {
	animation-play-state: paused;
}
@keyframes lp-sweep {
	0%,
	10% {
		--sweep-x: 94%;
	}
	40%,
	64% {
		--sweep-x: 6%;
	}
	90%,
	100% {
		--sweep-x: 94%;
	}
}
@media (prefers-reduced-motion: reduce) {
	.lp-sweep.is-on .lp-sweep-pic {
		animation: none;
	}
}
.lp-sweep-half {
	position: absolute;
	inset: 0;
	clip-path: inset(0 calc(100% - var(--sweep-x)) 0 0);
}
.lp-sweep-half.is-after {
	clip-path: inset(0 0 0 var(--sweep-x));
}
.lp-sweep-half img {
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
.lp-sweep-tag {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 5px 9px;
	border-radius: 4px;
	background: rgb(0 0 0 / 0.62);
	box-shadow: 0 0 6px rgb(0 0 0 / 0.3);
	color: #fff;
	font:
		600 11px/1 system-ui,
		-apple-system,
		sans-serif;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}
.is-after > .lp-sweep-tag {
	left: auto;
	right: 12px;
}
.lp-sweep-divider {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--sweep-x);
}
.lp-sweep-divider::before,
.lp-sweep-divider::after {
	content: '';
	position: absolute;
	left: -0.75px;
	width: 1.5px;
	background: #fff;
	box-shadow: 0 0 4px rgb(0 0 0 / 0.7);
}
.lp-sweep-divider::before {
	top: 0;
	bottom: calc(50% + 18px);
}
.lp-sweep-divider::after {
	top: calc(50% + 18px);
	bottom: 0;
}
.lp-sweep-knob {
	position: absolute;
	top: calc(50% - 18px);
	left: -18px;
	overflow: visible;
	filter: drop-shadow(0 1px 3px rgb(0 0 0 / 0.6));
}

/* Depth: a wide stage, the items in a row under it, every line showing. */
.lp-dx.is-row .lp-dx-panel {
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
}
.lp-dx.is-row .lp-dx-items {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 4px;
}
.lp-js .lp-dx.is-row .lp-dx-item .lp-dx-desc {
	display: block;
	font-size: 13.5px;
}
.lp-dx.is-row .lp-dx-item {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 16px 14px 18px;
}
.lp-dx.is-row .lp-dx-item[aria-pressed='true']::before {
	left: 14px;
	right: 14px;
	top: 0;
	bottom: auto;
	width: auto;
	height: 2px;
}
.lp-dx.is-row .lp-dx-item::after {
	left: 14px;
	right: 14px;
}

/* Combine with AI: one wide stage under the words. */
.lp-combine-stage {
	max-width: 1080px;
	margin-inline: auto;
}

/* A real editor underneath: the app with its panels lifted off it, then everything that
   doesn't need a clip, as big friendly icons. */
.lp-section.lp-app {
	padding-block: clamp(64px, 9vw, 128px);
}
.lp-editor-head {
	margin-bottom: clamp(56px, 8vw, 110px);
}
.lp-caps-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(30px, 3.4vw, 44px) clamp(20px, 2.6vw, 36px);
	list-style: none;
	padding: 0;
	/* clear of the panels that hang below the app picture */
	margin: clamp(130px, 17vw, 240px) 0 0;
}
.lp-caps-grid li {
	display: block;
}
.lp-cap-icon {
	display: block;
	width: 36px;
	height: 36px;
	margin-bottom: 16px;
	color: var(--text-strong);
}
.lp-cap-icon svg {
	width: 36px;
	height: 36px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.lp-cap-title {
	font-size: 17px;
	line-height: 1.3;
	letter-spacing: -0.01em;
	margin: 3px 0 5px;
}
.lp-caps-grid p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--text-muted);
}
@media (max-width: 1100px) {
	.lp-caps-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.lp-dx.is-row .lp-dx-items {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (max-width: 900px) {
	.lp-dx-panel {
		grid-template-columns: minmax(0, 1fr);
	}
	.lp-dx-stage {
		order: -1;
	}
	.lp-dx.is-row .lp-dx-items {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: minmax(200px, 62%);
		overflow: auto hidden;
		scrollbar-width: none;
	}
	.lp-caps-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
/* A phone: just the icon and the name, two to a row, so sixteen of them stay one short
   block instead of a long scroll; the descriptions are for wider screens. */
@media (max-width: 600px) {
	.lp-caps-grid {
		gap: 18px 16px;
	}
	.lp-caps-grid li {
		display: flex;
		align-items: center;
		gap: 12px;
	}
	.lp-cap-icon,
	.lp-cap-icon svg {
		flex: none;
		width: 24px;
		height: 24px;
		margin: 0;
	}
	.lp-cap-title {
		margin: 0;
		font-size: 15px;
	}
	.lp-caps-grid p {
		display: none;
	}
}

/* ───────── Ownership ───────── */

.lp-deal-band {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(36px, 6vw, 96px);
	align-items: center;
}
.lp-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.3em;
	margin: clamp(18px, 2.4vw, 28px) 0 0;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(64px, 8.4vw, 116px);
	line-height: 0.95;
	letter-spacing: -0.05em;
	color: var(--text-strong);
}
.is-founders .lp-price .lp-list-price {
	font-size: 0.42em;
	text-decoration-thickness: 2px;
}
/* The price to pay: its currency sign small and high against the figures, in amber.
   A struck-out list price keeps a plain sign, or the strike would pass under it. */
.lp-price .lp-cur {
	margin-right: 0.01em;
	font-size: 0.5em;
	font-weight: 500;
	letter-spacing: 0;
	vertical-align: 0.68em;
	color: var(--amber);
}
.is-founders .lp-price .lp-list-price .lp-cur {
	margin: 0;
	font: inherit;
	letter-spacing: inherit;
	vertical-align: baseline;
	color: inherit;
}
.lp-price-terms {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	margin-top: 16px;
	font-size: clamp(17px, 1.5vw, 19px);
	color: var(--text-muted);
}
.lp-price-terms p {
	margin: 0;
}
.lp-deal-buy {
	margin-top: 28px;
}
/* USD / EUR: a two-button group at the small control size. */
.lp-currency {
	display: inline-flex;
	padding: 2px;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-md);
}
.lp-currency[hidden] {
	display: none;
}
.lp-currency button {
	height: 26px;
	padding: 0 10px;
	border: 0;
	border-radius: var(--radius-sm);
	background: transparent;
	font-family: var(--font-mono);
	font-size: 11.5px;
	letter-spacing: 0.08em;
	color: var(--text-muted);
	cursor: pointer;
	transition:
		color 0.2s var(--ease),
		background-color 0.2s var(--ease);
}
.lp-currency button:hover {
	color: var(--text-strong);
}
.lp-currency button[aria-pressed='true'] {
	background: var(--surface-raised);
	color: var(--text-strong);
}
.lp-deal-points {
	display: grid;
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid var(--border);
}
.lp-deal-points li {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: 8px 24px;
	align-items: baseline;
	padding: 20px 0;
	border-bottom: 1px solid var(--border);
}
.lp-deal-points p {
	margin: 0;
	color: var(--text-muted);
}

/* The download at the high point of the page. */
.lp-midcta {
	position: relative;
	z-index: 2;
	padding-block: clamp(40px, 6vw, 80px) clamp(72px, 10vw, 136px);
	text-align: center;
}
.lp-midcta::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(
		ellipse 45% 60% at 50% 55%,
		rgba(240, 162, 58, 0.11),
		transparent 70%
	);
	pointer-events: none;
	z-index: -1;
}
.lp-midcta .lp-h2 {
	text-wrap: balance;
}
.lp-midcta .lp-cta {
	margin-top: 36px;
}

/* ───────── Who makes it (the card is styles.css .founder-card) ───────── */

.lp-founder {
	padding-top: 0;
}
.lp-founder .founder-card {
	margin-bottom: 0;
}

/* ───────── What I believe (on paper, styles.css .section-creed) ───────── */

.lp-beliefs {
	padding-block: clamp(72px, 10vw, 140px);
}
.lp-beliefs .section-kicker {
	text-align: left;
	margin-bottom: clamp(28px, 4vw, 44px);
}
.lp-belief-list {
	counter-reset: belief;
	list-style: none;
	padding: 0;
	margin: 0;
}
.lp-belief-list li {
	counter-increment: belief;
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 7fr);
	gap: clamp(20px, 5vw, 72px);
	padding-block: clamp(32px, 4.5vw, 56px);
	border-top: 1px solid var(--paper-border-strong);
}
.lp-belief {
	font-family: var(--font-serif);
	font-size: clamp(32px, 3.9vw, 50px);
	font-weight: 400;
	line-height: 1.06;
	letter-spacing: -0.01em;
	color: var(--paper-ink);
	text-wrap: balance;
	font-variation-settings:
		'opsz' 144,
		'SOFT' 30,
		'WONK' 1;
}
.lp-belief::before {
	content: '0' counter(belief);
	display: block;
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.12em;
	color: var(--amber-ink);
	margin-bottom: 16px;
}
.lp-belief-list .creed-text {
	font-size: clamp(18px, 1.75vw, 21px);
	color: var(--paper-ink-muted);
	margin: 0;
	padding-top: 31px;
}
.lp-beliefs .lp-pledge-sign {
	border-top: 1px solid var(--paper-border-strong);
	padding-top: 28px;
	margin: 0 0 12px;
}
.lp-beliefs-more {
	color: var(--amber-ink);
}
@media (max-width: 860px) {
	.lp-belief-list li {
		grid-template-columns: minmax(0, 1fr);
	}
	.lp-belief-list .creed-text {
		padding-top: 0;
	}
}

/* /features/: the clips, between the page's heading and its lists. */
.lp-showcase {
	margin-bottom: clamp(80px, 11vw, 150px);
}

/* The showstoppers' heading, over the first scene. */
.lp-features-head {
	margin-bottom: clamp(72px, 10vw, 140px);
}
.lp-features-head .lp-h2 {
	max-width: 16ch;
	text-wrap: balance;
}

/* ───────── Pages split off the landing page (/features/, /pledge/, /faq/) ───────── */

.lp-page {
	padding-block: clamp(56px, 9vw, 120px) clamp(72px, 10vw, 140px);
}
.lp-page-head {
	margin-bottom: clamp(44px, 6vw, 72px);
}
.lp-page-title {
	font-size: clamp(42px, 6.4vw, 80px);
	line-height: 1;
	letter-spacing: -0.045em;
}
.lp-page .faq-list {
	margin-top: 0;
}
.lp-about .lp-page-head {
	margin-bottom: 0;
}
/* The page keeps the site's width; its title and lede keep a readable measure on the left,
   with the page's picture to their right. */
.lp-about .lp-page-title {
	max-width: 12ch;
}
.lp-about .lp-page-head .lp-lede {
	max-width: 46ch;
}
/* The founder card closes the page: the privacy section's padding is the gap above it. */
.lp-about-touch {
	padding-top: 0;
}
.lp-about-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	margin: 28px 0 0;
}

/* /contact/: the form (fields are styles.css .field). */
.lp-contact {
	max-width: 640px;
}
.lp-seg {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	border: 0;
	padding: 0;
	margin: 0 0 24px;
}
.lp-seg legend {
	padding: 0;
	margin-bottom: 10px;
	font-family: var(--font-display);
	font-size: 13.5px;
	font-weight: 600;
	color: var(--text-strong);
}
.lp-seg label {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	font-size: 15px;
	color: var(--text);
	cursor: pointer;
	transition:
		border-color 0.18s var(--ease),
		background-color 0.18s var(--ease),
		color 0.18s var(--ease);
}
.lp-seg label:hover {
	border-color: rgba(243, 236, 224, 0.3);
}
.lp-seg input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.lp-seg label:has(input:checked) {
	border-color: var(--amber);
	background: var(--amber-subtle);
	color: var(--text-strong);
}
.lp-seg label:has(input:focus-visible) {
	outline: 2px solid var(--amber);
	outline-offset: 3px;
}
.lp-contact textarea {
	min-height: 160px;
}
.lp-contact-send {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 20px;
	margin-top: 4px;
}
.lp-contact-send .btn:disabled {
	opacity: 0.6;
	cursor: default;
	transform: none;
}
.lp-contact-status {
	margin: 0;
	font-size: 15px;
	color: var(--text-strong);
}
.lp-contact-status:empty {
	display: none;
}
.lp-contact-fine,
.lp-contact-mail {
	max-width: 62ch;
	margin: 24px 0 0;
	font-size: 14.5px;
	color: var(--text-muted);
}
.lp-contact-done {
	max-width: 640px;
	padding: 28px;
	border: 1px solid var(--amber-border);
	background: var(--amber-subtle);
}
.lp-contact-done:focus {
	outline: none;
}
.lp-contact-done p {
	margin: 8px 0 0;
	color: var(--text);
}

/* Hairlines drawn by the cells, so a short last row leaves no gray gap. */
.lp-caps {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	margin-top: clamp(48px, 6vw, 72px);
	border-top: 1px solid var(--border);
	border-left: 1px solid var(--border);
}
.lp-caps section {
	padding: 28px 26px 30px;
	border-right: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.lp-caps ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 7px;
	font-size: 15.5px;
}

/* /about/'s pledge and the landing page's creed sit on paper (styles.css .section-creed). */
.lp-pledge {
	padding-block: clamp(64px, 9vw, 120px);
}
.lp-pledge .manifesto-title {
	font-family: var(--font-serif);
}
.lp-pledge-title {
	font-size: clamp(26px, 3vw, 34px);
	letter-spacing: -0.03em;
	color: var(--paper-ink);
	margin: 0 0 8px;
}
/* The landing page's "Tools, not taxes": the creed alone, no pledge under it. */
.lp-taxes .manifesto-card {
	padding-bottom: 0;
	border-bottom: 0;
}
.lp-tenets {
	counter-reset: tenet;
	list-style: none;
	padding: 0;
	margin: 0;
}
.lp-tenets li {
	counter-increment: tenet;
	position: relative;
	padding: 18px 0 18px 40px;
	border-bottom: 1px solid var(--paper-border);
	font-size: 18px;
	line-height: 1.55;
	color: var(--paper-ink-muted);
}
.lp-tenets li::before {
	content: counter(tenet);
	position: absolute;
	left: 0;
	top: 22px;
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--amber-ink);
}
.lp-tenets strong {
	color: var(--paper-ink);
}
.lp-tenets a,
.lp-pledge-sign {
	color: var(--amber-ink);
}
.lp-pledge-sign {
	font-family: var(--font-serif);
	font-style: italic;
	font-size: 20px;
	margin: 24px 0 0;
}
.lp-data {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px 40px;
	list-style: none;
	padding: 0;
	margin: 44px 0 40px;
}
.lp-data p {
	color: var(--text-muted);
	margin: 8px 0 0;
}
@media (max-width: 640px) {
	.lp-data {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ───────── Scroll reveal (launch.js adds .rv; reduced motion never gets it) ───────── */

.rv {
	opacity: 0;
	translate: 0 26px;
	transition:
		opacity 0.8s var(--ease),
		translate 0.8s var(--ease);
}
.rv.in-view {
	opacity: 1;
	translate: 0 0;
}

/* ───────── Narrow screens ───────── */

/* Below this the hero's two columns are too narrow for the headline and the note. */
@media (max-width: 1140px) {
	.lp-hero-split {
		grid-template-columns: minmax(0, 1fr);
	}
	/* Stacked over the film, the words center instead of leaving the right half empty;
	   the line under the headline runs about as wide as the headline, in two lines. */
	.lp-hero-text {
		text-align: center;
	}
	.lp-hero .lp-sub {
		max-width: 26em;
		margin-inline: auto;
	}
	.lp-hero .lp-cta {
		align-items: center;
	}
	.lp-hero .lp-cta-note {
		justify-content: center;
	}
}
@media (max-width: 960px) {
	.lp-scene,
	.lp-scene:nth-of-type(even),
	.lp-split {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
	.lp-scene:nth-of-type(even) .lp-scene-text {
		order: 0;
	}
	/* Five pictures don't split into even rows: they run in a row that scrolls sideways
	   (vertical scrolling over it still moves the page), like the Depth cards. */
	.lp-best {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: minmax(200px, 38%);
		overflow: auto hidden;
		scroll-snap-type: x mandatory;
		/* Snap to the container's padding, not its edge (.container's padding-inline). */
		scroll-padding-inline: clamp(20px, 4.5vw, 48px);
		scrollbar-width: none;
	}
	.lp-best > li {
		scroll-snap-align: start;
	}
}
@media (max-width: 1100px) {
	.lp-makers {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
/* Under the words rather than beside them, the makers take as many columns as fit:
   four on a tablet, two on a phone. */
@media (max-width: 960px) {
	.lp-makers {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	}
}
@media (max-width: 700px) {
	.lp-tiles {
		grid-template-columns: minmax(0, 1fr);
	}
	.lp-flows {
		flex-direction: column;
		gap: clamp(56px, 7vw, 96px);
	}
	.lp-best {
		grid-auto-columns: minmax(200px, 62%);
	}
	.lp-tile:last-child:nth-child(odd) {
		justify-self: stretch;
		width: auto;
	}
	.lp-film-end {
		gap: 6px;
	}
	.lp-film-end .btn {
		padding: 4px 11px;
		font-size: 12px;
		gap: 5px;
	}
	.lp-replay svg {
		width: 10px;
		height: 10px;
	}
	.lp-deal-band,
	.lp-deal-points li {
		grid-template-columns: minmax(0, 1fr);
	}
	.lp-hero .lp-cta-note {
		align-items: center;
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lp-btn-xl::after,
	.lp-slot::before,
	.lp-film-end {
		animation: none;
	}
}
