/* Marquee landing. One typeface (Geist, with Geist Mono for numbers), the recorder's
   graphite palette, and one brand flourish: bulbs that chase around whatever is on stage. */

@font-face {
	font-family: "Geist";
	src: url("/fonts/Geist-Variable.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}

@font-face {
	font-family: "Geist Mono";
	src: url("/fonts/GeistMono-Variable.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}

:root {
	color-scheme: dark;
	--bg: #181818;
	--surface: #1f1f1f;
	--surface-2: #272727;
	--surface-3: #313131;
	--line: rgba(255, 255, 255, 0.1);
	--line-strong: rgba(255, 255, 255, 0.16);
	--text: #ffffff;
	--text-2: rgba(235, 235, 245, 0.64);
	--text-3: rgba(235, 235, 245, 0.42);
	--red: #ff453a;
	--red-hover: #ff5b51;
	--blue: #0a84ff;
	--green: #30d158;
	--bulb: #ffe6b8;
	--bulb-glow: rgba(255, 176, 84, 0.85);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "Geist Mono", ui-monospace, "SF Mono", Consolas, monospace;
	--gutter: 24px;
}

@media (max-width: 640px) {
	:root {
		--gutter: 16px;
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	overflow-x: clip;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.5rem;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* lang.js hides a translated page until i18n.js has put the text in: a moment at most. */
.i18n-wait body {
	visibility: hidden;
	animation: i18n-show 0s 1.2s forwards;
}

@keyframes i18n-show {
	to {
		visibility: visible;
	}
}

/* Chinese has no use for the tight Latin tracking of the headings, and its glyphs fill the
   whole line, so the hero's three lines get a little air. */
:lang(zh) .heading-1,
:lang(zh) .heading-2,
:lang(zh) .heading-3,
:lang(zh) .heading-6,
:lang(zh) .tagline-text {
	letter-spacing: 0;
}

.hero-title:lang(zh) {
	line-height: 1.2;
}

img,
svg {
	display: block;
	max-width: 100%;
}

/* Sprite icons take the colour of their text. */
.ico {
	flex: none;
	fill: currentColor;
}

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3,
p,
figure {
	margin: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1,
h2,
h3,
summary {
	text-wrap: balance;
}

p,
li {
	text-wrap: pretty;
}

:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
}

.sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip {
	position: fixed;
	top: -48px;
	left: 16px;
	z-index: 100;
	padding: 8px 12px;
	border-radius: 8px;
	background: var(--text);
	color: #000;
	font-weight: 600;
	transition: transform 300ms var(--ease);
}

.skip:focus {
	transform: translateY(64px);
}

/* ---- Text styles (Tailwind scale steps only) ---------------------------- */

.heading-1 {
	font-size: 3.75rem;
	line-height: 1;
	font-weight: 600;
	letter-spacing: -0.04em;
}

.heading-2 {
	font-size: 3rem;
	line-height: 1;
	font-weight: 600;
	letter-spacing: -0.035em;
}

.heading-3 {
	font-size: 2.25rem;
	line-height: 2.5rem;
	font-weight: 600;
	letter-spacing: -0.03em;
}

.heading-6 {
	font-size: 1.25rem;
	line-height: 1.75rem;
	font-weight: 600;
	letter-spacing: -0.015em;
}

.title-2 {
	font-size: 1.125rem;
	line-height: 1.75rem;
	font-weight: 500;
	letter-spacing: -0.02em;
}

.title-3 {
	font-size: 1rem;
	line-height: 1.5rem;
	font-weight: 500;
}

.title-4 {
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
}

.body-3 {
	font-size: 1rem;
	line-height: 1.5rem;
	font-weight: 400;
}

.body-5 {
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
}

.body-6 {
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 400;
}

.button-md {
	font-size: 1rem;
	line-height: 1.5rem;
	font-weight: 600;
}

.button-sm {
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
}

.caption-3 {
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
}

.caption-4 {
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 500;
}

.caption-5 {
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 400;
}

@media (max-width: 640px) {
	.heading-1 {
		font-size: 3rem;
	}

	/* Russian and Spanish lines run longer: each hero line still fits on one row. */
	.hero-title:lang(ru),
	.hero-title:lang(es) {
		font-size: clamp(2rem, 9.4vw, 3rem);
	}

	.heading-2 {
		font-size: 2.25rem;
		line-height: 2.5rem;
	}

	.heading-3 {
		font-size: 1.875rem;
		line-height: 2.25rem;
	}
}

kbd {
	font-family: var(--mono);
	font-size: 0.8em;
	padding: 0 4px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.08);
	box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

/* ---- Brand ---------------------------------------------------------------- */

.brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--text);
}

.brand-mark {
	width: 30px;
	height: 24px;
	overflow: visible;
}

.brand-mark path {
	fill: none;
	stroke: var(--bulb);
	stroke-width: 3.4;
	stroke-linecap: round;
	stroke-dasharray: 0 1;
}

.brand-mark circle {
	fill: var(--red);
}

/* The mark's bulbs march when the logo is hovered: the marquee is the selection. */
@media (prefers-reduced-motion: no-preference) {
	.brand:hover .brand-mark path {
		animation: march 600ms linear infinite;
	}
}

@keyframes march {
	to {
		stroke-dashoffset: -1;
	}
}

/* ---- Navigation ----------------------------------------------------------- */

.nav-wrap {
	position: fixed;
	top: 16px;
	left: 0;
	right: 0;
	z-index: 50;
	display: flex;
	justify-content: center;
	padding: 0 var(--gutter);
	pointer-events: none;
}

.nav {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 8px 8px 8px 16px;
	border: 1px solid var(--line);
	border-radius: 9999px;
	background: rgba(31, 31, 31, 0.72);
	-webkit-backdrop-filter: blur(16px) saturate(1.6);
	backdrop-filter: blur(16px) saturate(1.6);
	box-shadow:
		0 16px 32px -16px rgba(0, 0, 0, 0.7),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	pointer-events: auto;
}

.nav-links {
	display: flex;
	gap: 4px;
}

.nav-links a {
	display: block;
	padding: 4px 12px;
	border-radius: 9999px;
	color: var(--text-2);
	transition:
		color 300ms var(--ease),
		background-color 300ms var(--ease);
}

.nav-links a:hover {
	color: var(--text);
}

.nav-links a[aria-current="true"] {
	color: var(--text);
	background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
	.nav {
		gap: 16px;
	}

	.nav-links {
		display: none;
	}
}

/* ---- Buttons and links ---------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 12px;
	white-space: nowrap;
	transition:
		transform 300ms var(--ease),
		background-color 300ms var(--ease);
}

.btn:active {
	transform: scale(0.98);
}

.btn .ico {
	width: 20px;
	height: 20px;
}

.btn-sm {
	padding: 4px 12px;
	border-radius: 9999px;
}

.btn-sm .ico {
	width: 16px;
	height: 16px;
}

/* The primary action borrows the recorder's Record button: red, with the white dot. */
.btn-rec {
	padding: 8px 16px 8px 12px;
	background: var(--red);
	color: #fff;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.32),
		0 12px 32px -12px rgba(255, 69, 58, 0.75);
}

.btn-rec::before {
	content: "";
	width: 10px;
	height: 10px;
	margin: 0 4px;
	border-radius: 50%;
	background: #fff;
}

.btn-rec .ico {
	display: none;
}

.btn-rec:hover {
	background: var(--red-hover);
}

.btn-ghost {
	background: rgba(255, 255, 255, 0.08);
	color: var(--text);
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.14);
}

.link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--text-2);
	transition: color 300ms var(--ease);
}

.link:hover {
	color: var(--text);
}

.link .ico {
	width: 16px;
	height: 16px;
	transition: transform 300ms var(--ease);
}

.link:hover .ico {
	transform: translateX(2px);
}

p .link,
li .link {
	display: inline;
	color: var(--text);
	text-decoration: underline;
	text-decoration-color: var(--line-strong);
	text-underline-offset: 4px;
	transition: text-decoration-color 300ms var(--ease);
}

p .link:hover,
li .link:hover {
	text-decoration-color: var(--text);
}

/* ---- Sections ------------------------------------------------------------- */

main > section {
	padding: 96px var(--gutter);
}

.section-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 680px;
	margin: 0 auto 64px;
	text-align: center;
}

.eyebrow {
	margin-bottom: 16px;
	color: var(--bulb);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.section-sub {
	margin-top: 24px;
	color: var(--text-2);
}

@media (max-width: 640px) {
	main > section {
		padding: 64px var(--gutter);
	}

	.section-head {
		margin-bottom: 40px;
	}
}

/* Scroll reveal: rise 32px and fade in once. */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal {
		opacity: 0;
		transform: translateY(32px);
		transition:
			opacity 700ms var(--ease),
			transform 700ms var(--ease);
	}

	.js .reveal.is-in {
		opacity: 1;
		transform: none;
	}
}

/* ---- Hero ----------------------------------------------------------------- */

main > .hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 160px;
	text-align: center;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 12px;
	border: 1px solid var(--line);
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-2);
}

.rec-light {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 8px var(--red);
}

@media (prefers-reduced-motion: no-preference) {
	.rec-light {
		animation: blink 1600ms var(--ease) infinite;
	}
}

@keyframes blink {
	50% {
		opacity: 0.3;
	}
}

.hero-title {
	max-width: 680px;
	margin-top: 24px;
	padding-bottom: 4px;
}

.hero-title .ph {
	display: block;
	background: linear-gradient(90deg, #ffffff, #9b9b9b);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

/* "box" sits inside a live selection, like the area picker draws it. */
.wordbox {
	position: relative;
	display: inline-block;
	margin: 0 12px 0 4px;
	color: #fff;
	-webkit-text-fill-color: #fff;
}

.wordbox-ui {
	position: absolute;
	inset: 2px -8px -2px;
	pointer-events: none;
}

.ants,
.sel .ants {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.ants rect {
	width: calc(100% - 1px);
	height: calc(100% - 1px);
	fill: none;
	stroke: #fff;
	stroke-width: 1.5;
	stroke-dasharray: 6 5;
}

@media (prefers-reduced-motion: no-preference) {
	.ants rect {
		animation: ants 900ms linear infinite;
	}
}

@keyframes ants {
	to {
		stroke-dashoffset: -11;
	}
}

.h {
	position: absolute;
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.h.nw { left: 0; top: 0; }
.h.n { left: 50%; top: 0; }
.h.ne { left: 100%; top: 0; }
.h.e { left: 100%; top: 50%; }
.h.se { left: 100%; top: 100%; }
.h.s { left: 50%; top: 100%; }
.h.sw { left: 0; top: 100%; }
.h.w { left: 0; top: 50%; }

.wordbox-size {
	position: absolute;
	left: 50%;
	bottom: 100%;
	margin-bottom: 8px;
	padding: 2px 8px;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.72);
	color: #fff;
	-webkit-text-fill-color: #fff;
	font-family: var(--mono);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 500;
	letter-spacing: 0;
	white-space: nowrap;
	transform: translateX(-50%);
}

/* The full stop of "Hit record" is the recording light. */
.rec-stop {
	display: inline-block;
	width: 0.2em;
	height: 0.2em;
	margin-left: 0.06em;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 0.25em rgba(255, 69, 58, 0.8);
}

.hero-sub {
	max-width: 560px;
	margin-top: 24px;
	color: var(--text-2);
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 24px;
	margin-top: 32px;
}

.hero-proof {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
	color: var(--text-3);
}

/* ---- Bulbs (shared by the stage and the sign) ----------------------------- */

.bulbs {
	position: absolute;
	inset: calc(var(--bulb-gap, 16px) * -1);
	width: calc(100% + var(--bulb-gap, 16px) * 2);
	height: calc(100% + var(--bulb-gap, 16px) * 2);
	overflow: visible;
	pointer-events: none;
}

.bulbs path {
	fill: none;
	stroke: var(--bulb);
	stroke-width: var(--bulb-size, 5px);
	stroke-linecap: round;
}

.bulbs-base {
	opacity: 0.14;
}

.bulbs-lit {
	filter: drop-shadow(0 0 4px var(--bulb-glow));
	will-change: opacity;
}

@media (prefers-reduced-motion: no-preference) {
	.bulbs-lit {
		animation: chase 1500ms var(--ease) infinite;
	}

	.bulbs-lit.b1 {
		animation-delay: -1000ms;
	}

	.bulbs-lit.b2 {
		animation-delay: -500ms;
	}

	.is-paused .bulbs-lit {
		animation-play-state: paused;
	}
}

@keyframes chase {
	0%,
	30% {
		opacity: 1;
	}

	40%,
	90% {
		opacity: 0.12;
	}

	100% {
		opacity: 1;
	}
}

/* ---- Stage: the recorder, drawn in HTML ----------------------------------- */

.stage {
	--bulb-gap: 18px;
	--bulb-size: 5px;
	position: relative;
	width: 100%;
	max-width: 1120px;
	margin-top: 64px;
}

.stage-screen {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 24px;
	background: #121212;
	box-shadow:
		0 0 0 1px var(--line-strong),
		0 48px 96px -32px rgba(0, 0, 0, 0.9);
	isolation: isolate;
}

@media (max-width: 700px) {
	.stage {
		--bulb-gap: 10px;
		--bulb-size: 4px;
		margin-top: 64px;
	}

	.stage-screen {
		aspect-ratio: 840 / 800;
		border-radius: 16px;
	}
}

.desk {
	position: absolute;
	top: 0;
	left: 50%;
	width: 1280px;
	height: 800px;
	overflow: hidden;
	transform: translateX(-50%) scale(var(--k, 0.875));
	transform-origin: 50% 0;
	color: rgba(255, 255, 255, 0.94);
	font-size: 12.5px;
	line-height: 1.3;
	text-align: left;
	contain: layout paint;
	user-select: none;
}

.wall {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: #121212;
}

.wall::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	opacity: 0.09;
	mix-blend-mode: overlay;
}

.glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
}

.g1 {
	left: -160px;
	bottom: -260px;
	width: 760px;
	height: 560px;
	background: #ff5a1f;
	opacity: 0.5;
}

.g2 {
	right: -180px;
	bottom: -160px;
	width: 680px;
	height: 500px;
	background: #ff2d55;
	opacity: 0.38;
}

.g3 {
	top: -300px;
	left: 520px;
	width: 620px;
	height: 460px;
	background: #0a84ff;
	opacity: 0.2;
}

/* A light app window: what you would actually clip. */
.win {
	position: absolute;
	top: 52px;
	left: 120px;
	display: grid;
	grid-template-columns: 150px 1fr;
	grid-template-rows: 38px 1fr;
	width: 890px;
	height: 590px;
	overflow: hidden;
	border-radius: 12px;
	background: #fbfbfa;
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.5),
		0 32px 64px -24px rgba(0, 0, 0, 0.85);
	color: #1d1d1f;
	font-size: 13px;
}

.win-bar {
	grid-column: 1 / -1;
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 14px;
	border-bottom: 1px solid #e8e8e5;
	background: #f3f3f1;
}

.win-bar i {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #ff5f57;
}

.win-bar i:nth-child(2) {
	background: #febc2e;
}

.win-bar i:nth-child(3) {
	background: #28c840;
}

.win-bar span {
	position: absolute;
	left: 50%;
	color: #6e6e73;
	font-weight: 500;
	transform: translateX(-50%);
}

.win-side {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 16px 10px;
	border-right: 1px solid #e8e8e5;
	background: #f6f6f4;
	color: #6e6e73;
}

.win-side span {
	padding: 6px 10px;
	border-radius: 6px;
}

.win-side .is-on {
	background: #e8e8e5;
	color: #1d1d1f;
	font-weight: 500;
}

.win-main {
	position: relative;
	padding: 22px 30px;
}

.kpis {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.kpis div {
	padding: 12px 14px;
	border: 1px solid #e8e8e5;
	border-radius: 10px;
	background: #fff;
}

.kpis small {
	display: block;
	margin-bottom: 2px;
	color: #86868b;
	font-size: 12px;
}

.kpis b {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.kpis em {
	margin-left: 6px;
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
}

.kpis .up {
	color: #1f9d55;
}

.kpis .down {
	color: #d70015;
}

.chart {
	width: 100%;
	margin-top: 18px;
	overflow: visible;
}

.chart .grid {
	fill: none;
	stroke: #ececea;
	stroke-width: 1;
}

.area {
	fill: rgba(10, 132, 255, 0.1);
}

.line {
	fill: none;
	stroke: #0a84ff;
	stroke-width: 2.5;
	vector-effect: non-scaling-stroke;
}

.dip {
	fill: #fff;
	stroke: #ff453a;
	stroke-width: 2.5;
}

.tip {
	position: absolute;
	top: 222px;
	left: 486px;
	padding: 8px 10px;
	border-radius: 8px;
	background: #1d1d1f;
	color: #fff;
	font-size: 12px;
	line-height: 1.4;
	box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.6);
	opacity: 0;
	transform: translateY(4px);
	transition:
		opacity 300ms var(--ease),
		transform 300ms var(--ease);
}

.tip span {
	color: #ff8a80;
}

.desk[data-tip] .tip {
	opacity: 1;
	transform: none;
}

/* Area picker: everything outside the selection is dimmed. */
.sel {
	position: absolute;
	top: 104px;
	left: 288px;
	width: 0;
	height: 0;
	opacity: 0;
	transition: opacity 300ms var(--ease);
}

.sel::before {
	content: "";
	position: absolute;
	inset: 0;
	box-shadow: 0 0 0 2400px rgba(0, 0, 0, 0.5);
	transition: opacity 300ms var(--ease);
}

.sel::after {
	content: "";
	position: absolute;
	inset: -4px;
	border: 2px solid var(--red);
	border-radius: 4px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
	opacity: 0;
	transition: opacity 200ms var(--ease);
}

.sel .ants rect {
	stroke-width: 1;
	rx: 0;
}

.sel-size {
	position: absolute;
	bottom: 100%;
	left: -1px;
	margin-bottom: 8px;
	padding: 3px 8px;
	border-radius: 6px;
	background: rgba(28, 28, 30, 0.92);
	color: #fff;
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.desk[data-phase="keys"] .sel,
.desk[data-phase="select"] .sel,
.desk[data-phase="ready"] .sel,
.desk[data-phase="rec"] .sel {
	opacity: 1;
}

.desk[data-phase="rec"] .sel::before,
.desk[data-phase="rec"] .sel .ants,
.desk[data-phase="rec"] .sel .h,
.desk[data-phase="rec"] .sel-size {
	opacity: 0;
}

.desk[data-phase="rec"] .sel::after {
	opacity: 1;
}

.desk[data-phase="keys"] .sel .ants,
.desk[data-phase="keys"] .sel .h,
.desk[data-phase="keys"] .sel-size {
	opacity: 0;
}

/* HUD material, matching hud.module.css in the app. */
.hud-surface {
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 60%),
		rgba(30, 30, 32, 0.96);
	box-shadow:
		0 0 0 0.5px rgba(0, 0, 0, 0.55),
		0 14px 30px -10px rgba(0, 0, 0, 0.6),
		0 3px 8px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.desk .hud-surface svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
	flex: none;
}

.hud-div {
	flex: none;
	width: 1px;
	height: 22px;
	margin: 0 2px;
	background: rgba(255, 255, 255, 0.1);
}

.hud-rec {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 7px;
	height: 36px;
	padding: 0 14px 0 12px;
	border-radius: 11px;
	background: #ff453a;
	color: #fff;
	font-weight: 600;
	box-shadow:
		inset 0 0.5px 0 rgba(255, 255, 255, 0.35),
		0 1px 2px rgba(0, 0, 0, 0.3);
	transition: transform 120ms var(--ease);
}

.hud-rec .dot,
.hud-rec .sq {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #fff;
}

.hud-rec .sq {
	border-radius: 2.5px;
}

.hud-kbd {
	margin-left: 4px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 11px;
	font-weight: 450;
}

.is-pressed {
	transform: scale(0.96);
}

.picker {
	position: absolute;
	top: 516px;
	left: 50%;
	display: flex;
	align-items: center;
	gap: 6px;
	height: 50px;
	padding: 0 7px;
	opacity: 0;
	transform: translate(-50%, 6px) scale(0.97);
	transform-origin: 50% 0;
	transition:
		opacity 240ms var(--ease),
		transform 240ms var(--ease);
}

.desk[data-phase="ready"] .picker {
	opacity: 1;
	transform: translate(-50%, 0);
}

.pk-seg {
	display: inline-flex;
	align-items: center;
	height: 36px;
	padding: 2px;
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.06);
}

.pk-seg span,
.pk-btn {
	display: inline-flex;
	align-items: center;
	height: 32px;
	padding: 0 10px;
	border-radius: 9px;
	color: rgba(235, 235, 245, 0.62);
	font-weight: 600;
	white-space: nowrap;
}

.pk-seg .is-on {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	box-shadow:
		0 1px 2px rgba(0, 0, 0, 0.35),
		inset 0 0.5px 0 rgba(255, 255, 255, 0.14);
}

.keys {
	position: absolute;
	top: 300px;
	left: 50%;
	display: flex;
	gap: 10px;
	opacity: 0;
	transform: translate(-50%, 8px) scale(0.96);
	transition:
		opacity 300ms var(--ease),
		transform 300ms var(--ease);
}

.desk[data-phase="keys"] .keys {
	opacity: 1;
	transform: translate(-50%, 0);
}

.keys kbd,
.act-keys kbd {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 72px;
	height: 72px;
	padding: 0 18px;
	border-radius: 14px;
	background: linear-gradient(180deg, #3a3a3c, #2c2c2e);
	color: #fff;
	font-family: var(--font);
	font-size: 22px;
	font-weight: 500;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.18),
		inset 0 -3px 0 rgba(0, 0, 0, 0.35),
		0 0 0 1px rgba(0, 0, 0, 0.5),
		0 12px 24px -8px rgba(0, 0, 0, 0.7);
}

.hud-stack {
	position: absolute;
	bottom: 24px;
	left: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	transform: translateX(-50%);
}

.hud-bars {
	display: grid;
	justify-items: center;
}

.hud-bar {
	grid-area: 1 / 1;
	display: flex;
	align-items: center;
	gap: 6px;
	height: 50px;
	padding: 0 7px;
	white-space: nowrap;
	transition:
		opacity 240ms var(--ease),
		transform 240ms var(--ease);
}

.hud-live {
	opacity: 0;
	transform: scale(0.97);
}

.desk[data-phase="rec"] .hud-idle {
	opacity: 0;
	transform: scale(0.97);
}

.desk[data-phase="rec"] .hud-live {
	opacity: 1;
	transform: none;
}

.hud-drag {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 36px;
	color: rgba(235, 235, 245, 0.4);
}

.hud-seg {
	display: inline-flex;
	align-items: center;
	height: 36px;
	padding: 2px;
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.06);
}

.hud-seg > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	padding: 0 11px;
	border-radius: 9px;
	color: rgba(235, 235, 245, 0.62);
	font-weight: 600;
}

.hud-seg > .is-on {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	box-shadow:
		0 1px 2px rgba(0, 0, 0, 0.35),
		inset 0 0.5px 0 rgba(255, 255, 255, 0.14);
}

.hud-detail {
	color: rgba(235, 235, 245, 0.62);
	font-weight: 500;
}

.hud-ctl {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	color: rgba(235, 235, 245, 0.62);
}

.hud-ctl.is-dim {
	opacity: 0.45;
}

.hud-fmt {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 11px;
	color: rgba(235, 235, 245, 0.62);
	font-weight: 600;
}

.hud-fmt svg {
	width: 12px;
	height: 12px;
}

.hud-live-dot {
	width: 8px;
	height: 8px;
	margin-left: 6px;
	border-radius: 50%;
	background: #ff453a;
	box-shadow: 0 0 8px rgba(255, 69, 58, 0.8);
}

.hud-timer {
	min-width: 44px;
	margin-right: 6px;
	color: #fff;
	font-size: 13.5px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

/* The finished clip card. */
.clip {
	width: 420px;
	padding: 12px;
	border-radius: 16px;
	opacity: 0;
	transform: translateY(6px) scale(0.97);
	transform-origin: 50% 100%;
	transition:
		opacity 260ms var(--ease),
		transform 260ms var(--ease);
}

.desk[data-phase="done"] .clip {
	opacity: 1;
	transform: none;
}

.clip-top {
	position: relative;
	display: flex;
	gap: 14px;
}

.clip-thumb {
	position: relative;
	flex: none;
	width: 132px;
	height: 76px;
	overflow: hidden;
	border-radius: 8px;
	background: #fbfbfa;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.desk .clip-thumb svg {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 60%;
}

.clip-dur {
	position: absolute;
	right: 4px;
	bottom: 4px;
	padding: 1px 5px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.72);
	color: #fff;
	font-size: 10.5px;
	font-weight: 600;
}

.clip-info {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	padding-top: 2px;
}

.clip-info b {
	font-size: 13.5px;
	font-weight: 600;
}

.clip-info span {
	color: rgba(235, 235, 245, 0.62);
}

.ok {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	color: rgba(235, 235, 245, 0.62);
}

.ok svg {
	width: 14px !important;
	height: 14px !important;
	color: #30d158;
}

.clip-x {
	position: absolute;
	top: 0;
	right: 0;
	color: rgba(235, 235, 245, 0.4);
}

.clip-actions {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

.hb {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 32px;
	padding: 0 12px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 12.5px;
	font-weight: 600;
	white-space: nowrap;
	transition:
		transform 120ms var(--ease),
		background-color 300ms var(--ease);
}

.hb svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

.hb-blue {
	background: #0a84ff;
}

.hb-icon {
	width: 32px;
	padding: 0;
}

.hb.is-done {
	color: #30d158;
}

.cursor {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
	width: 28px !important;
	height: 28px !important;
	margin: -3px 0 0 -6px;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45));
	transform: translate(930px, 660px);
	transition: scale 120ms var(--ease);
	will-change: transform;
}

.cursor.is-clicking {
	scale: 0.85;
}

.cursor path {
	fill: #000;
	stroke: #fff;
	stroke-width: 1.6;
	stroke-linejoin: round;
}

/* ---- Why ------------------------------------------------------------------ */

main > .intro {
	display: grid;
	grid-template-columns: 200px minmax(0, 560px);
	justify-content: center;
	gap: 48px;
}

.intro-label {
	color: var(--bulb);
}

.intro-copy {
	display: grid;
	gap: 24px;
	color: var(--text-3);
}

.intro-copy b {
	color: var(--text);
	font-weight: 500;
}

@media (max-width: 760px) {
	main > .intro {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}
}

/* ---- Acts ----------------------------------------------------------------- */

.act-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	max-width: 1120px;
	margin: 0 auto;
}

.act {
	display: flex;
	flex-direction: column;
	padding: 16px 16px 32px;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--surface);
}

.act h3 {
	margin-top: 8px;
}

.act p.body-6 {
	margin-top: 8px;
	color: var(--text-2);
}

.act > :not(.act-visual) {
	padding: 0 8px;
}

.act-no {
	color: var(--bulb);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* outer 24 − padding 16 = 8 */
.act-visual {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	height: 176px;
	margin-bottom: 24px;
	overflow: hidden;
	border-radius: 8px;
	background: var(--bg);
	box-shadow: inset 0 0 0 1px var(--line);
	font-size: 12.5px;
}

.act-keys {
	flex-direction: row;
	gap: 8px;
}

.act-keys kbd {
	min-width: 56px;
	height: 56px;
	padding: 0 16px;
	font-size: 18px;
}

@media (prefers-reduced-motion: no-preference) {
	.act.is-in .act-keys kbd {
		animation: press 2400ms var(--ease) infinite;
	}

	.act.is-in .act-keys kbd:nth-child(2) {
		animation-delay: 120ms;
	}

	.act.is-in .act-keys kbd:nth-child(3) {
		animation-delay: 240ms;
	}
}

@keyframes press {
	0%,
	30%,
	100% {
		transform: none;
	}

	12% {
		transform: translateY(2px) scale(0.97);
	}
}

.act-ratios .pk-seg span {
	font-size: 12.5px;
}

.act-size {
	padding: 2px 8px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-2);
	font-family: var(--mono);
	font-size: 0.75rem;
	line-height: 1rem;
}

.act-saved .ok svg {
	fill: currentColor;
}

.act-saved .hb {
	height: 36px;
	padding: 0 16px;
	font-size: 14px;
}

@media (max-width: 860px) {
	.act-list {
		grid-template-columns: minmax(0, 1fr);
		max-width: 480px;
	}
}

/* ---- Ticker --------------------------------------------------------------- */

main > .ticker {
	padding: 0;
	overflow: hidden;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.ticker-track {
	display: flex;
	width: max-content;
}

@media (prefers-reduced-motion: no-preference) {
	.ticker-track {
		animation: ticker 48s linear infinite;
	}

	.ticker:hover .ticker-track,
	.ticker.is-paused .ticker-track {
		animation-play-state: paused;
	}
}

@keyframes ticker {
	to {
		transform: translateX(-50%);
	}
}

.ticker-list {
	display: flex;
	flex: none;
	color: var(--text-2);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ticker-list li {
	display: inline-flex;
	align-items: center;
	gap: 24px;
	padding: 24px 0 24px 24px;
	white-space: nowrap;
}

.ticker-list li::after {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--bulb);
	box-shadow: 0 0 6px var(--bulb-glow);
}

.ticker-list li:nth-child(6n)::after {
	background: var(--red);
	box-shadow: 0 0 6px var(--red);
}

@media (prefers-reduced-motion: reduce) {
	.ticker-track {
		flex-wrap: wrap;
		width: auto;
		justify-content: center;
	}

	.ticker-list {
		flex-wrap: wrap;
		justify-content: center;
	}

	.ticker-list[aria-hidden] {
		display: none;
	}
}

/* ---- Studio bento --------------------------------------------------------- */

.bento {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	max-width: 1120px;
	margin: 0 auto;
}

.card {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 16px 16px 24px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--surface);
}

.card-text {
	display: grid;
	gap: 8px;
	padding: 0 8px;
}

.card-text p {
	color: var(--text-2);
}

.card-wide {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	align-items: center;
	gap: 32px;
	padding: 16px;
}

.card-wide .card-text {
	padding: 16px;
}

/* outer 24 − padding 16 = 8 */
.shot {
	overflow: hidden;
	border-radius: 8px;
	background: #111;
	box-shadow: 0 0 0 1px var(--line);
}

.shot img {
	width: 100%;
	height: auto;
}

.shot-crop {
	height: 176px;
}

.shot-crop img {
	height: 100%;
	object-fit: cover;
	object-position: 0 50%;
}

.captions,
.zoom-demo,
.export-demo {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	height: 176px;
	padding: 16px 24px;
	overflow: hidden;
	border-radius: 8px;
	background: var(--bg);
	box-shadow: inset 0 0 0 1px var(--line);
}

.cap-file {
	color: var(--text-3);
	font-family: var(--mono);
}

.cap-line {
	display: flex;
	gap: 16px;
	color: var(--text-3);
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.cap-line span {
	flex: none;
	font-family: var(--mono);
	font-size: 0.75rem;
	line-height: 1.25rem;
}

.cap-line.is-live {
	color: var(--text);
}

.caret {
	display: inline-block;
	width: 2px;
	height: 1em;
	margin-left: 2px;
	vertical-align: -2px;
	background: var(--bulb);
}

@media (prefers-reduced-motion: no-preference) {
	.caret {
		animation: blink 1000ms steps(1) infinite;
	}
}

.zoom-demo {
	align-items: center;
	background:
		radial-gradient(circle at 30% 40%, rgba(255, 90, 31, 0.22), transparent 60%),
		var(--bg);
}

.zoom-frame {
	position: relative;
	width: 240px;
	height: 135px;
	border-radius: 8px;
	background: #fbfbfa;
	box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.8);
}

.zoom-frame::before {
	content: "";
	position: absolute;
	inset: 16px 16px auto;
	height: 12px;
	border-radius: 4px;
	background: #e8e8e5;
	box-shadow:
		0 24px 0 #e8e8e5,
		0 48px 0 #e8e8e5;
}

.zoom-target {
	position: absolute;
	right: 24px;
	bottom: 16px;
	width: 88px;
	height: 50px;
	border: 2px solid var(--blue);
	border-radius: 6px;
	background: rgba(10, 132, 255, 0.12);
}

@media (prefers-reduced-motion: no-preference) {
	.card.is-in .zoom-frame {
		animation: zoom 4000ms var(--ease) infinite;
	}
}

@keyframes zoom {
	0%,
	20%,
	100% {
		transform: none;
	}

	45%,
	75% {
		transform: scale(1.8) translate(-44px, -24px);
	}
}

.zoom-chip {
	position: absolute;
	top: 16px;
	left: 16px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 6px;
	background: rgba(10, 132, 255, 0.24);
	color: #9fcdff;
}

.zoom-chip svg,
.export-demo svg,
.act-saved svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.export-demo {
	align-items: center;
	gap: 12px;
	font-size: 12.5px;
}

.export-demo .hb {
	height: 36px;
	padding: 0 16px;
	font-size: 14px;
}

@media (max-width: 860px) {
	.bento {
		grid-template-columns: minmax(0, 1fr);
		max-width: 560px;
	}

	.card-wide {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.card-wide .card-text {
		order: 2;
		padding: 24px 8px 8px;
	}
}

/* ---- Tagline reveal ------------------------------------------------------- */

main > .tagline {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 128px;
	padding-bottom: 128px;
	text-align: center;
}

.tagline-text {
	max-width: 880px;
	line-height: 1.1;
}

.tagline-text .w {
	opacity: 0.3;
	transition: opacity 500ms var(--ease);
}

.tagline-text .w.is-lit {
	opacity: 1;
}

.tagline-text .w.hot {
	color: var(--bulb);
	text-shadow: 0 0 24px rgba(255, 176, 84, 0.45);
}

/* The hot words are marked with <em> in the text; main.js turns them into bulbs. */
.tagline-text em {
	font-style: normal;
}

/* ---- Free ----------------------------------------------------------------- */

.facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	max-width: 1120px;
	margin: 0 auto;
}

.fact {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--surface);
}

.fact-n {
	color: var(--bulb);
	font-family: var(--mono);
	font-size: 3.75rem;
	line-height: 1;
	font-weight: 500;
	letter-spacing: -0.04em;
	text-shadow: 0 0 32px rgba(255, 176, 84, 0.35);
}

.fact span {
	color: var(--text-2);
}

.credits {
	max-width: 560px;
	margin: 48px auto 0;
	color: var(--text-3);
	text-align: center;
}

@media (max-width: 760px) {
	.facts {
		grid-template-columns: minmax(0, 1fr);
		max-width: 480px;
	}

	.fact {
		padding: 24px;
	}
}

/* ---- FAQ ------------------------------------------------------------------ */

.faq-list {
	max-width: 760px;
	margin: 0 auto;
	border-top: 1px solid var(--line);
}

.faq-list details {
	border-bottom: 1px solid var(--line);
}

.faq-list summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 0;
	cursor: pointer;
	list-style: none;
	transition: color 300ms var(--ease);
}

.faq-list summary::-webkit-details-marker {
	display: none;
}

.faq-list summary::after {
	content: "";
	flex: none;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--surface-3);
	box-shadow: inset 0 0 0 1px var(--line-strong);
	transition:
		transform 300ms var(--ease),
		background-color 300ms var(--ease),
		box-shadow 300ms var(--ease);
}

.faq-list summary:hover {
	color: var(--bulb);
}

.faq-list details[open] summary::after {
	background: var(--bulb);
	box-shadow: 0 0 12px var(--bulb-glow);
	transform: scale(0.85);
}

.faq-list details p {
	max-width: 640px;
	padding-bottom: 24px;
	color: var(--text-2);
}

/* ---- Finale: the sign ----------------------------------------------------- */

main > .finale {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 128px;
	text-align: center;
}

.sign {
	--bulb-gap: 16px;
	--bulb-size: 6px;
	position: relative;
	width: min(100%, 880px);
	margin-bottom: 64px;
	padding: 48px;
	border-radius: 24px;
	background: var(--surface);
	box-shadow:
		0 0 0 1px var(--line),
		0 48px 96px -32px rgba(0, 0, 0, 0.9);
}

.sign-letters {
	width: 100%;
	height: auto;
	overflow: visible;
}

.sign-letters circle {
	fill: var(--bulb);
	opacity: 0.1;
}

.sign-letters .on {
	opacity: 1;
	filter: drop-shadow(0 0 3px var(--bulb-glow));
}

.sign-letters .on.red {
	fill: var(--red);
	filter: drop-shadow(0 0 4px rgba(255, 69, 58, 0.9));
}

@media (prefers-reduced-motion: no-preference) {
	.js .sign-letters .on {
		opacity: 0.1;
		transition: opacity 400ms var(--ease);
		transition-delay: var(--d, 0ms);
	}

	.js .sign.is-in .sign-letters .on {
		opacity: 1;
	}
}

.finale-sub {
	margin-top: 16px;
	color: var(--text-2);
}

@media (max-width: 640px) {
	.sign {
		--bulb-gap: 8px;
		--bulb-size: 4px;
		margin-bottom: 48px;
		padding: 24px 16px;
		border-radius: 16px;
	}
}

/* ---- Footer --------------------------------------------------------------- */

.footer {
	max-width: 1168px;
	margin: 0 auto;
	padding: 64px var(--gutter) 40px;
	border-top: 1px solid var(--line);
}

.footer-top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 48px;
}

.footer-brand {
	display: grid;
	gap: 16px;
	max-width: 320px;
}

.footer-brand p {
	color: var(--text-2);
}

.footer-author b {
	color: var(--text);
	font-weight: 500;
}

.footer-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.langs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
}

.langs .ico {
	width: 16px;
	height: 16px;
}

.langs a {
	transition: color 300ms var(--ease);
}

.langs a:hover,
.langs a[aria-current] {
	color: var(--text);
}

.footer-cols {
	display: flex;
	flex-wrap: wrap;
	gap: 48px 64px;
}

.footer-cols p {
	margin-bottom: 16px;
	color: var(--text-3);
}

.footer-cols ul {
	display: grid;
	gap: 12px;
}

.footer-cols a {
	color: var(--text-2);
	transition: color 300ms var(--ease);
}

.footer-cols a:hover {
	color: var(--text);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 64px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	color: var(--text-3);
}

@media (max-width: 640px) {
	main > .hero {
		padding-top: 128px;
	}
}

/* ---- 404 ------------------------------------------------------------------ */

.lost {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 24px;
	min-height: 100svh;
	padding: 64px var(--gutter);
	text-align: center;
}

.lost .brand {
	margin-bottom: 40px;
}

.lost .eyebrow {
	margin: 0;
}

.lost-sub {
	max-width: 440px;
	color: var(--text-2);
}

/* ---- Brand page ----------------------------------------------------------- */

.brand-page {
	max-width: 1120px;
	margin: 0 auto;
	padding: 160px var(--gutter) 96px;
}

.brand-page > header {
	max-width: 680px;
	margin-bottom: 64px;
}

.brand-page h1 + p {
	margin-top: 24px;
	color: var(--text-2);
}

.assets {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.asset {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 16px 16px 24px;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--surface);
}

.asset-wide {
	grid-column: 1 / -1;
}

/* outer 24 − padding 16 = 8 */
.asset-art {
	display: grid;
	place-items: center;
	min-height: 240px;
	padding: 32px;
	border-radius: 8px;
	background: var(--bg);
	box-shadow: inset 0 0 0 1px var(--line);
}

.asset-art img {
	max-height: 176px;
	width: auto;
}

.asset > :not(.asset-art, .sign) {
	padding: 0 8px;
}

.asset p {
	color: var(--text-2);
}

.asset-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.swatches {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	margin-top: 16px;
}

.swatch {
	display: grid;
	gap: 12px;
	padding: 8px 8px 16px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--surface);
}

.swatch i {
	height: 96px;
	border-radius: 8px;
	box-shadow: inset 0 0 0 1px var(--line);
}

.swatch span {
	padding: 0 8px;
	color: var(--text-2);
}

.sw-graphite { background: #181818; }
.sw-bulb { background: var(--bulb); }
.sw-red { background: var(--red); }
.sw-blue { background: var(--blue); }
.sw-green { background: var(--green); }

.brand-colors {
	margin-top: 64px;
}

.swatch b {
	display: block;
	color: var(--text);
	font-weight: 500;
}

.brand-page .sign {
	margin: 32px auto 0;
}

@media (max-width: 860px) {
	.assets {
		grid-template-columns: minmax(0, 1fr);
	}

	.swatches {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.brand-page {
		padding-top: 128px;
	}
}
