:root {
	--canvas: #0d0d10;
	--panel: #151519;
	--raised: #1c1c21;
	--raised-2: #24242a;
	--line: rgba(255, 255, 255, 0.08);
	--line-strong: rgba(255, 255, 255, 0.14);
	--text: #e7e7ec;
	--muted: #92929d;
	--dim: #5c5c66;
	--rec: #e8574f;
	--rec-deep: #c8403a;
	--ok: #5fcf8a;
	--focus: #91aac8;
	--ui: "Geist", -apple-system, system-ui, "SF Pro Text", "Helvetica Neue", sans-serif;
	--mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--fast: 120ms;
	--normal: 180ms;
	--gutter: clamp(16px, 4vw, 48px);
}

* {
	box-sizing: border-box;
}

html {
	background: var(--canvas);
	color-scheme: dark;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--canvas);
	color: var(--text);
	font: 400 16px/1.5 var(--ui);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

a {
	color: inherit;
}

svg {
	display: block;
}

.defs {
	position: absolute;
}

.skip {
	position: absolute;
	left: 16px;
	top: -60px;
	padding: 8px 12px;
	background: var(--text);
	color: var(--canvas);
	border-radius: 8px;
	z-index: 50;
}

.skip:focus {
	top: 16px;
}

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

kbd {
	font: 500 0.85em/1 var(--mono);
	padding: 3px 6px 4px;
	border-radius: 5px;
	background: var(--raised);
	border: 1px solid var(--line-strong);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
	color: var(--text);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 40px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid transparent;
	font: 500 14px/1 var(--ui);
	text-decoration: none;
	cursor: pointer;
	transition:
		transform 160ms var(--ease-out),
		background-color var(--fast) ease,
		border-color var(--fast) ease,
		color var(--fast) ease;
}

.button:active {
	transform: scale(0.97);
}

.button-white {
	background: var(--text);
	color: var(--canvas);
}

.button-white:hover {
	background: #fff;
}

.button-ghost {
	background: rgba(255, 255, 255, 0.04);
	border-color: var(--line-strong);
	color: var(--text);
}

.button-ghost:hover {
	background: rgba(255, 255, 255, 0.08);
}

.button-small {
	height: 34px;
	padding: 0 14px;
	font-size: 13px;
}

.button:disabled {
	opacity: 0.5;
	cursor: default;
}

/* Header */

.top {
	position: absolute;
	inset: 0 0 auto;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px var(--gutter);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 17px;
	text-decoration: none;
	letter-spacing: -0.01em;
}

.mark {
	width: 26px;
	height: 26px;
	color: var(--text);
}

/* Hero: a Mac desktop with the recorder on it */

.hero {
	position: relative;
	min-height: 100svh;
	display: grid;
	grid-template-rows: 1fr auto auto;
	padding: 96px var(--gutter) 28px;
	overflow: clip;
	isolation: isolate;
}

.aura {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: -3;
	image-rendering: pixelated;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(13, 13, 16, 0) 55%, rgba(13, 13, 16, 0.6) 80%, var(--canvas) 100%),
		radial-gradient(70% 50% at 50% 100%, rgba(13, 13, 16, 0.8) 0%, rgba(13, 13, 16, 0) 100%),
		linear-gradient(180deg, rgba(13, 13, 16, 0.45) 0%, rgba(13, 13, 16, 0) 35%);
	pointer-events: none;
}

.hero-copy {
	max-width: 760px;
	align-self: start;
	text-shadow: 0 1px 2px rgba(13, 13, 16, 0.8), 0 4px 24px rgba(13, 13, 16, 0.9);
}

.display {
	margin: 0 0 18px;
	font-weight: 600;
	font-size: clamp(40px, 7vw, 84px);
	line-height: 0.98;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.lede {
	margin: 0 0 18px;
	max-width: 560px;
	font-size: clamp(16px, 1.5vw, 19px);
	line-height: 1.5;
	color: #b9b9c4;
	text-wrap: pretty;
}

.hint {
	margin: 0;
	font-size: 14px;
	color: #b9b9c4;
	transition: opacity var(--normal) ease;
}

.hint-touch {
	display: none;
}

.hero:not([data-state="idle"]) .hint {
	opacity: 0;
}

/* Dock: capsule and review share one cell */

.dock {
	display: grid;
	justify-items: center;
	align-items: end;
	margin-top: 40px;
	min-height: 200px;
	--ink: #f5f5f7;
	--ink2: rgba(245, 245, 247, 0.66);
	--ink3: rgba(245, 245, 247, 0.42);
	--hov: rgba(255, 255, 255, 0.1);
	--prs: rgba(255, 255, 255, 0.18);
	--red: #ff453a;
	--green: #32d74b;
	--sp-soft: cubic-bezier(0.2, 0.9, 0.3, 1.06);
	--sp-soft-t: 500ms;
	--sp-bounce: cubic-bezier(0.2, 0.9, 0.25, 1.2);
	--sp-bounce-t: 550ms;
	--ease: cubic-bezier(0.2, 0, 0, 1);
	zoom: 1.3;
	color: var(--ink);
	font-size: 13px;
	line-height: 1.4;
	user-select: none;
	-webkit-user-select: none;
}

.cap button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.cap button:disabled {
	cursor: default;
}

.hud,
.review {
	grid-area: 1 / 1;
}

.hud {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	gap: 10px;
	transition:
		opacity 260ms var(--ease),
		transform 300ms var(--ease);
}

.hero[data-state="stopped"] .hud {
	opacity: 0;
	transform: translateY(10px) scale(0.96);
	pointer-events: none;
}

/* The capsule */

.cap {
	position: relative;
	--w: 468px;
	width: var(--w);
	max-width: calc(100vw - 32px);
	height: 72px;
	border-radius: 36px;
	overflow: clip;
	background: linear-gradient(180deg, rgba(66, 66, 72, 0.52), rgba(28, 28, 32, 0.64));
	backdrop-filter: blur(30px) saturate(1.8) brightness(0.92);
	-webkit-backdrop-filter: blur(30px) saturate(1.8) brightness(0.92);
	box-shadow:
		0 1px 1px rgba(0, 0, 0, 0.3),
		0 6px 14px -4px rgba(0, 0, 0, 0.35),
		0 22px 50px -10px rgba(0, 0, 0, 0.5),
		0 50px 100px -30px rgba(0, 0, 0, 0.45);
	transition:
		width var(--sp-soft-t) var(--sp-soft),
		box-shadow 400ms var(--ease);
}

.cap[data-view="recording"],
.cap[data-view="paused"] {
	--w: 316px;
}

.cap[data-view="recording"] {
	box-shadow:
		0 1px 1px rgba(0, 0, 0, 0.3),
		0 6px 14px -4px rgba(0, 0, 0, 0.35),
		0 22px 50px -10px rgba(0, 0, 0, 0.5),
		0 0 0 1px rgba(255, 69, 58, 0.18),
		0 0 60px -10px rgba(255, 69, 58, 0.35);
}

.cap::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	z-index: 9;
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.09),
		inset 0 1px 0 rgba(255, 255, 255, 0.2),
		inset 0 -1px 0 rgba(0, 0, 0, 0.25);
	background: radial-gradient(120% 70% at 50% -25%, rgba(255, 255, 255, 0.1), transparent 62%);
}

.cap[data-view="paused"] {
	animation: breathe 3.6s ease-in-out infinite alternate;
}

@keyframes breathe {
	from {
		scale: 1;
	}
	to {
		scale: 1.006;
	}
}

.layer {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 72px;
	opacity: 0;
	pointer-events: none;
	transform-origin: 50% 100%;
	transform: scale(0.92);
	filter: blur(6px);
	transition:
		opacity 180ms var(--ease),
		transform 280ms var(--ease),
		filter 180ms var(--ease);
}

.layer.on {
	opacity: 1;
	pointer-events: auto;
	transform: none;
	filter: none;
	transition:
		opacity 340ms var(--ease) 100ms,
		transform var(--sp-soft-t) var(--sp-soft) 80ms,
		filter 300ms var(--ease) 80ms;
}

.row {
	height: calc(100% - 14px);
	display: flex;
	align-items: center;
	gap: 6px;
}

.L-idle .row {
	padding: 0 12px 0 14px;
}

.L-rec .row {
	justify-content: center;
	gap: 4px;
}

.mk {
	width: 28px;
	height: 28px;
	flex: none;
	color: var(--ink);
}

.mk svg {
	width: 100%;
	height: 100%;
}

.chip {
	height: 36px;
	flex: 1;
	min-width: 0;
	border-radius: 18px;
	padding: 0 10px 0 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	text-align: left;
	transition:
		background 200ms,
		transform var(--sp-bounce-t) var(--sp-bounce);
}

.chip:hover {
	background: var(--hov);
}

.chip:active {
	transform: scale(0.97);
	transition-duration: 120ms;
}

.chip .i {
	width: 16px;
	height: 16px;
	flex: none;
	color: var(--ink2);
}

.chip .nm {
	flex: 1;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: 500;
}

.chip .chev {
	flex: none;
	width: 14px;
	height: 14px;
	color: var(--ink3);
}

.gb {
	position: relative;
	width: 36px;
	height: 36px;
	flex: none;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--ink);
	transition:
		background 200ms,
		color 200ms,
		transform var(--sp-bounce-t) var(--sp-bounce);
}

.gb .i {
	width: 18px;
	height: 18px;
}

.gb:hover {
	background: var(--hov);
}

.gb:active {
	background: var(--prs);
	transform: scale(0.92);
	transition-duration: 150ms, 150ms, 120ms;
}

.gb.off {
	color: var(--ink3);
}

.gb .slash {
	position: absolute;
	inset: 0;
	width: 36px;
	height: 36px;
	color: var(--ink2);
}

.gb .slash path {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.65;
	stroke-linecap: round;
	stroke-dasharray: 24;
	stroke-dashoffset: 24;
	transition: stroke-dashoffset 300ms var(--ease);
}

.gb.off .slash path {
	stroke-dashoffset: 0;
}

.lvl {
	position: absolute;
	left: 9px;
	right: 9px;
	bottom: 3px;
	height: 2px;
	border-radius: 2px;
	background: var(--green);
	transform-origin: left;
	transform: scaleX(0);
}

.gb.off .lvl {
	display: none;
}

.rec {
	position: relative;
	flex: none;
	width: 48px;
	height: 48px;
	margin-left: 5px;
	margin-right: 4px;
	border-radius: 50%;
	background: radial-gradient(100% 100% at 50% 0%, #ff6a5f, #e8362c);
	box-shadow:
		0 0 0 2px rgba(30, 30, 34, 0.95),
		0 0 0 3.5px rgba(255, 255, 255, 0.82),
		0 6px 18px rgba(255, 69, 58, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.4);
	transition:
		transform var(--sp-bounce-t) var(--sp-bounce),
		box-shadow 250ms;
}

.rec:hover {
	transform: scale(1.06);
}

.rec:active,
.rec.is-pressed {
	transform: scale(0.92);
	transition-duration: 120ms;
}

.rec:focus-visible {
	outline-offset: 5px;
}

.stop {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #fff;
	background: radial-gradient(120% 140% at 50% 0%, #ff6459, #e2372d);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.35),
		0 4px 14px rgba(255, 69, 58, 0.28);
	transition:
		background 400ms var(--ease),
		box-shadow 400ms var(--ease),
		transform var(--sp-bounce-t) var(--sp-bounce);
}

.stop:hover {
	transform: scale(1.06);
}

.stop:active,
.stop.is-pressed {
	transform: scale(0.95);
	transition-duration: 120ms;
}

.cap[data-view="paused"] .stop {
	background: rgba(255, 255, 255, 0.16);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
	color: var(--ink);
}

.stop .pg {
	position: relative;
	width: 18px;
	height: 18px;
	display: block;
}

.ic {
	position: absolute;
	inset: 0;
	width: 18px;
	height: 18px;
	transition:
		transform var(--sp-bounce-t) var(--sp-bounce),
		opacity 200ms,
		filter 200ms;
}

.ic-play {
	opacity: 0;
	transform: scale(0.4) rotate(-70deg);
	filter: blur(3px);
}

.cap[data-view="paused"] .ic-pause {
	opacity: 0;
	transform: scale(0.4) rotate(70deg);
	filter: blur(3px);
}

.cap[data-view="paused"] .ic-play {
	opacity: 1;
	transform: none;
	filter: none;
}

.tmw {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 0 10px 0 8px;
}

.ldot {
	width: 7px;
	height: 7px;
	flex: none;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 9px rgba(255, 69, 58, 0.75);
	animation: ldot 1.6s ease-in-out infinite;
	transition:
		opacity 300ms,
		box-shadow 300ms;
}

@keyframes ldot {
	50% {
		opacity: 0.45;
	}
}

.cap[data-view="paused"] .ldot {
	animation: none;
	opacity: 0.28;
	box-shadow: none;
}

.timer {
	display: inline-flex;
	align-items: center;
	font: 500 16px/1 var(--mono);
	font-variant-numeric: tabular-nums;
}

.dg {
	position: relative;
	display: inline-block;
	width: 0.62em;
	height: 1.3em;
	overflow: hidden;
}

.dg span {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	line-height: 1.3em;
	text-align: center;
	will-change: transform;
}

.colon {
	display: inline-flex;
	justify-content: center;
	width: 0.42em;
	line-height: 1.25em;
	opacity: 0.7;
}

.rb {
	position: relative;
	width: 36px;
	height: 36px;
	flex: none;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--ink);
	transition:
		background 200ms,
		color 200ms,
		opacity 250ms,
		transform var(--sp-bounce-t) var(--sp-bounce);
}

.rb .i {
	width: 18px;
	height: 18px;
}

.rb:hover:not(:disabled) {
	background: var(--hov);
}

.rb:active:not(:disabled),
.rb.is-pressed {
	background: var(--prs);
	transform: scale(0.9);
	transition-duration: 150ms, 150ms, 250ms, 120ms;
}

.rb:disabled {
	opacity: 0.3;
}

.rb .sq {
	width: 11px;
	height: 11px;
	border-radius: 3px;
	background: var(--ink);
	opacity: 0.85;
	transition: opacity 200ms;
}

.rb:hover .sq {
	opacity: 1;
}

#btn-remove:hover:not(:disabled) {
	color: #ff7a70;
}

#btn-expand .i {
	transition: transform var(--sp-bounce-t) var(--sp-bounce);
}

.cap[data-panel="open"] #btn-expand .i {
	transform: rotate(180deg);
}

.cap[data-panel="open"] #btn-expand {
	background: var(--hov);
}

/* Tooltips: delayed, then instant */

[data-tip] {
	position: relative;
}

[data-tip]::before {
	content: attr(data-tip);
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	transform: translate(-50%, 4px) scale(0.96);
	transform-origin: 50% 100%;
	white-space: nowrap;
	padding: 5px 8px;
	border-radius: 8px;
	background: rgba(14, 14, 17, 0.92);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 6px 20px rgba(0, 0, 0, 0.4);
	font: 500 11px/1 var(--ui);
	color: var(--ink);
	opacity: 0;
	pointer-events: none;
	z-index: 30;
	transition:
		opacity 125ms var(--ease),
		transform 125ms var(--ease);
}

[data-tip][data-kbd]::before {
	content: attr(data-tip) "   " attr(data-kbd);
}

@media (hover: hover) and (pointer: fine) {
	[data-tip]:hover::before {
		opacity: 1;
		transform: translate(-50%, 0) scale(1);
		transition-delay: 450ms;
	}
	.row:hover [data-tip]:hover::before {
		transition-delay: 450ms;
	}
}

/* Take lip inside the bottom edge */

.lip {
	position: absolute;
	left: 30px;
	right: 30px;
	bottom: 8px;
	height: 4px;
	display: flex;
	align-items: center;
	z-index: 3;
	pointer-events: none;
}

.segs {
	flex: 1;
	display: flex;
	height: 4px;
	border-radius: 2px;
	margin-right: -3px;
	transition: background 300ms;
}

.segs.empty {
	background: rgba(255, 255, 255, 0.09);
	margin-right: 0;
}

.sg {
	flex: 1 1 0;
	min-width: 12px;
	height: 4px;
	border-radius: 2px;
	margin-right: 3px;
	background: rgba(255, 255, 255, 0.28);
	transform-origin: left center;
	animation: segIn 420ms var(--ease) backwards;
	transition:
		background-color 400ms var(--ease),
		box-shadow 400ms var(--ease),
		flex-grow 160ms var(--ease);
}

.sg.newest {
	background: rgba(255, 255, 255, 0.8);
}

.sg.act {
	background: var(--red);
	box-shadow: 0 0 10px rgba(255, 69, 58, 0.65);
}

.sg.rm {
	flex-grow: 0 !important;
	min-width: 0;
	margin-right: 0;
	opacity: 0;
	transition:
		flex-grow 160ms var(--ease),
		min-width 160ms var(--ease),
		margin 160ms var(--ease),
		opacity 130ms linear;
}

@keyframes segIn {
	from {
		transform: scaleX(0);
		opacity: 0;
	}
}

/* Sources panel above the capsule */

.setup {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	max-width: 480px;
	opacity: 0;
	transform: translateY(10px) scale(0.97);
	height: 0;
	overflow: hidden;
	pointer-events: none;
	transition:
		opacity 200ms var(--ease),
		transform 240ms var(--ease);
}

.hud.is-expanded .setup {
	opacity: 1;
	transform: none;
	height: auto;
	overflow: visible;
	pointer-events: auto;
	transition:
		opacity 300ms var(--ease) 60ms,
		transform var(--sp-soft-t) var(--sp-soft) 40ms;
}

.schip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 30px;
	padding: 0 11px 0 9px;
	border-radius: 15px;
	background: rgba(28, 28, 32, 0.7);
	backdrop-filter: blur(20px) saturate(1.6);
	-webkit-backdrop-filter: blur(20px) saturate(1.6);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.14);
	font-size: 12px;
	font-weight: 500;
	color: var(--ink2);
	white-space: nowrap;
}

.schip.off {
	color: var(--ink3);
}

.schip svg {
	width: 14px;
	height: 14px;
}

/* Review card */

.review {
	width: min(520px, calc(100vw - 32px));
	padding: 12px;
	border-radius: 22px;
	background: linear-gradient(180deg, rgba(66, 66, 72, 0.5), rgba(28, 28, 32, 0.66));
	backdrop-filter: blur(30px) saturate(1.8) brightness(0.92);
	-webkit-backdrop-filter: blur(30px) saturate(1.8) brightness(0.92);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.09),
		inset 0 1px 0 rgba(255, 255, 255, 0.2),
		0 22px 50px -10px rgba(0, 0, 0, 0.5),
		0 50px 100px -30px rgba(0, 0, 0, 0.45);
	transform-origin: 50% 100%;
	transition:
		opacity 400ms var(--ease) 200ms,
		transform var(--sp-soft-t) var(--sp-soft) 120ms;
}

.review[hidden] {
	display: block;
	opacity: 0;
	transform: scale(0.94) translateY(10px);
	pointer-events: none;
	transition:
		opacity 180ms var(--ease),
		transform 280ms var(--ease);
}

.review-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 2px 4px 10px 6px;
}

.review-head .mk {
	width: 24px;
	height: 24px;
}

.review-t {
	flex: 1;
	min-width: 0;
	display: grid;
	line-height: 1.2;
}

.review-t b {
	font-weight: 600;
	font-size: 13px;
}

.review-sub {
	font: 400 11px/1.3 var(--mono);
	color: var(--ink3);
}

.review .button {
	height: 30px;
	padding: 0 12px;
	font-size: 12px;
	-webkit-tap-highlight-color: transparent;
}

.files {
	list-style: none;
	margin: 0;
	padding: 6px;
	display: grid;
	gap: 2px;
	max-height: 180px;
	overflow: auto;
	border-radius: 14px;
	background: rgba(12, 13, 17, 0.55);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.files li {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 30px;
	padding: 0 10px;
	border-radius: 9px;
	font: 400 12px/1 var(--mono);
	color: var(--ink);
	animation: file-in 320ms var(--sp-soft) both;
	animation-delay: calc(var(--i, 0) * 45ms + 240ms);
}

@keyframes file-in {
	from {
		opacity: 0;
		transform: translateX(-8px);
		filter: blur(2px);
	}
}

.files li:hover {
	background: var(--hov);
}

.files li svg {
	width: 15px;
	height: 15px;
	color: var(--ink2);
	flex: none;
}

.files li span {
	margin-left: auto;
	color: var(--ink3);
}

.files li.empty {
	color: var(--ink2);
	font-family: var(--ui);
}

.keys-legend {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 18px;
	margin: 26px 0 0;
	font-size: 13px;
	color: var(--dim);
}

.keys-legend span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

/* Sections */

main > section:not(.hero) {
	padding: clamp(72px, 10vw, 140px) var(--gutter);
	max-width: 1180px;
	margin: 0 auto;
}

.section-title {
	margin: 0 0 16px;
	font-weight: 600;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.05;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

main p {
	color: var(--muted);
	text-wrap: pretty;
}

.muted {
	color: var(--dim);
}

.muted b {
	color: var(--muted);
	font-weight: 500;
}

/* Waitlist */

.waitlist {
	display: grid;
	gap: 28px;
	max-width: 560px !important;
}

.waitlist-intro p {
	font-size: 17px;
}

.form {
	display: grid;
	gap: 18px;
	padding: 24px;
	border-radius: 18px;
	background: var(--panel);
	border: 1px solid var(--line);
}

.field {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.label {
	font-size: 13px;
	font-weight: 500;
	color: var(--text);
}

.optional {
	font-weight: 400;
	color: var(--dim);
}

input[type="email"],
input[type="text"] {
	width: 100%;
	height: 44px;
	padding: 0 14px;
	border-radius: 10px;
	border: 1px solid var(--line-strong);
	background: var(--canvas);
	color: var(--text);
	font: 400 15px var(--ui);
	transition: border-color var(--fast) ease;
}

input::placeholder {
	color: var(--dim);
}

input[type="email"]:focus,
input[type="text"]:focus {
	outline: none;
	border-color: var(--focus);
}

input[aria-invalid="true"] {
	border-color: var(--rec);
}

.segmented {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	padding: 3px;
	border-radius: 10px;
	background: var(--canvas);
	border: 1px solid var(--line);
}

.segmented label {
	position: relative;
}

.segmented input {
	position: absolute;
	inset: 0;
	opacity: 0;
	margin: 0;
	cursor: pointer;
}

.segmented span {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 36px;
	border-radius: 8px;
	font-size: 14px;
	color: var(--muted);
	transition:
		background-color var(--fast) ease,
		color var(--fast) ease;
}

.segmented input:checked + span {
	background: var(--raised-2);
	color: var(--text);
}

.segmented input:focus-visible + span {
	outline: 2px solid var(--focus);
}

.consent {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 10px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--muted);
}

.consent input {
	margin: 2px 0 0;
	accent-color: var(--text);
}

.trap {
	position: absolute;
	left: -9999px;
}

.form-status {
	margin: 0;
	min-height: 1.4em;
	font-size: 14px;
	color: var(--muted);
}

.form-status.is-error {
	color: var(--rec);
}

.form-status.is-done {
	color: var(--ok);
}

.form.is-done .field,
.form.is-done .consent,
.form.is-done #btn-join {
	display: none;
}

.foot {
	padding: 48px var(--gutter) 64px;
	max-width: 1180px;
	margin: 0 auto;
	font-size: 13px;
	color: var(--dim);
	border-top: 1px solid var(--line);
}

.foot p {
	margin: 0 0 8px;
	max-width: 620px;
}

/* Reveals */

.reveal-on-scroll {
	opacity: 0;
	transform: translateY(14px);
	transition:
		opacity 500ms var(--ease-out),
		transform 500ms var(--ease-out);
}

.reveal-on-scroll.is-visible {
	opacity: 1;
	transform: none;
}

/* Responsive */

@media (max-width: 900px) {
	.waitlist {
		gap: 24px;
	}
}

@media (max-width: 560px) {
	.hero {
		padding-top: 88px;
	}
	.dock {
		zoom: 1;
	}
	.cap {
		--w: calc(100vw - 32px);
	}
	.cap[data-view="recording"],
	.cap[data-view="paused"] {
		--w: 316px;
	}
	.keys-legend {
		display: none;
	}
	.top .button {
		height: 36px;
		padding: 0 14px;
		font-size: 13px;
	}
}

@media (hover: none) {
	.hint-keys {
		display: none;
	}
	.hint-touch {
		display: inline;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition-duration: 0ms !important;
	}
	.reveal-on-scroll {
		opacity: 1;
		transform: none;
	}
}
