@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 {
	--ink: #0e0f12;
	--surface: #16181d;
	--raised: #1e2128;
	--line: #262a31;
	--line-strong: #3a3f47;
	--text: #f4f3ef;
	--text-2: #b7bac1;
	--muted: #8c9099;
	--lime: #b6f23a;
	--lime-hi: #cbff5c;
	--on-lime: #0e0f12;
	--danger: #ff8a8a;
	--radius: 12px;
	--wrap: 1120px;
	--gutter: clamp(16px, 4vw, 32px);
	color-scheme: dark;
}

* {
	box-sizing: border-box;
}

html {
	background: var(--ink);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font-family: "Geist", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	overflow-x: hidden;
}

h1,
h2,
h3 {
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin: 0;
	text-wrap: balance;
}

p,
li {
	text-wrap: pretty;
}

a {
	color: inherit;
}

code,
.mono {
	font-family: "Geist Mono", ui-monospace, monospace;
	font-size: 0.92em;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.skip {
	position: absolute;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	left: -999px;
	top: 8px;
	background: var(--lime);
	color: var(--on-lime);
	padding: 8px 12px;
	border-radius: 8px;
	z-index: 20;
}

.skip:focus {
	left: 8px;
}

:focus-visible {
	outline: 2px solid var(--lime);
	outline-offset: 3px;
	border-radius: 6px;
}

/* header */

.header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(14, 15, 18, 0.86);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}

.header .wrap {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 64px;
}

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

.brand img {
	width: 28px;
	height: 28px;
}

.nav {
	display: flex;
	gap: 4px;
	margin-left: auto;
}

.nav a {
	color: var(--text-2);
	text-decoration: none;
	font-size: 14px;
	padding: 10px 12px;
	border-radius: 8px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

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

@media (max-width: 760px) {
	.nav {
		display: none;
	}

	.header .button {
		margin-left: auto;
	}
}

/* buttons */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: var(--radius);
	font: inherit;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	border: 1px solid var(--line-strong);
	background: var(--surface);
	color: var(--text);
	cursor: pointer;
}

.button:hover {
	background: var(--raised);
}

.button.primary {
	background: var(--lime);
	border-color: var(--lime);
	color: var(--on-lime);
}

.button.primary:hover {
	background: var(--lime-hi);
	border-color: var(--lime-hi);
}

.button .arrow {
	display: inline-block;
	transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.button:hover .arrow {
	transform: translateX(3px);
}

.button svg {
	width: 18px;
	height: 18px;
	flex: none;
}

/* hero */

.hero {
	padding: clamp(48px, 9vw, 96px) 0 32px;
}

.hero .wrap {
	display: grid;
	gap: 48px;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 980px) {
	.hero .wrap {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		align-items: center;
	}
}

.eyebrow {
	color: var(--muted);
	font-size: 14px;
	margin: 0 0 16px;
}

.hero h1 {
	font-size: clamp(38px, 6.4vw, 64px);
}

.hero .lead {
	color: var(--text-2);
	font-size: clamp(17px, 2vw, 19px);
	margin: 20px 0 28px;
	max-width: 34em;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.note {
	color: var(--muted);
	font-size: 14px;
	margin: 16px 0 0;
}

/* demo */

.demo {
	position: relative;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--surface);
	overflow: hidden;
	user-select: none;
	-webkit-user-select: none;
	touch-action: none;
	min-height: 420px;
}

.demo-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 13px;
}

.demo-bar .dots {
	display: flex;
	gap: 6px;
}

.demo-bar .dots i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--line-strong);
}

.demo-stage {
	position: relative;
	height: 380px;
}

.tile {
	position: absolute;
	width: 112px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 12px 8px;
	border-radius: 10px;
	font-size: 13px;
	text-align: center;
	color: var(--text);
	cursor: grab;
	touch-action: none;
}

#file {
	left: 32px;
	top: 32px;
}

.tile:hover {
	background: rgba(255, 255, 255, 0.04);
}

.tile .icon {
	width: 56px;
	height: 68px;
	border-radius: 8px;
	background: #2a5a82;
	position: relative;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.tile .icon::after {
	content: attr(data-ext);
	position: absolute;
	left: 6px;
	bottom: 6px;
	font: 600 10px "Geist Mono", monospace;
	color: rgba(255, 255, 255, 0.9);
	letter-spacing: 0.04em;
}

.tile.new .icon {
	background: #4d6b22;
}

.tile.dragging {
	cursor: grabbing;
	opacity: 0.85;
	z-index: 4;
}

.tile.appear {
	animation: rise 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.hint {
	position: absolute;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	width: max-content;
	max-width: calc(100% - 32px);
	background: var(--raised);
	border: 1px solid var(--line);
	color: var(--text-2);
	font-size: 13px;
	padding: 8px 14px;
	border-radius: 999px;
	text-align: center;
}

.hint kbd {
	font: 600 12px "Geist Mono", monospace;
	border: 1px solid var(--line-strong);
	border-radius: 5px;
	padding: 1px 6px;
	color: var(--text);
}

.wheel {
	position: absolute;
	width: 300px;
	height: 300px;
	margin: -150px 0 0 -150px;
	pointer-events: none;
	z-index: 3;
	opacity: 0;
	transform: scale(0.92);
	transition:
		opacity 140ms ease-out,
		transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wheel.open {
	opacity: 1;
	transform: none;
}

.toast {
	position: absolute;
	right: 16px;
	top: 16px;
	width: min(300px, calc(100% - 32px));
	background: var(--raised);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 13px;
	opacity: 0;
	transform: translateY(-6px);
	transition:
		opacity 200ms ease-out,
		transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
	z-index: 5;
}

.toast.show {
	opacity: 1;
	transform: none;
}

.toast strong {
	display: block;
	font-weight: 600;
	font-size: 14px;
}

.toast span {
	color: var(--muted);
}

/* video */

.demo-video {
	display: block;
	width: 100%;
	max-width: 720px;
	height: auto;
	margin: 0 auto;
	border-radius: 16px;
	border: 1px solid var(--line);
	background: var(--surface);
}

/* sections */

section {
	padding: clamp(56px, 9vw, 104px) 0;
	border-top: 1px solid var(--line);
}

.section-head {
	max-width: 44em;
	margin-bottom: 40px;
}

.section-head h2 {
	font-size: clamp(28px, 4vw, 40px);
}

.section-head p {
	color: var(--text-2);
	font-size: 17px;
	margin: 14px 0 0;
}

.grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
}

.card h3 {
	font-size: 20px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.card p,
.card li {
	color: var(--text-2);
	font-size: 15px;
}

.card ul {
	margin: 12px 0 0;
	padding-left: 18px;
}

.key {
	font: 600 13px "Geist Mono", monospace;
	padding: 3px 9px;
	border-radius: 6px;
	border: 1px solid var(--line-strong);
	color: var(--text);
	letter-spacing: 0;
}

.key.lit {
	background: var(--lime);
	border-color: var(--lime);
	color: var(--on-lime);
}

/* formats */

.formats {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.formats th,
.formats td {
	text-align: left;
	padding: 14px 16px;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

.formats th {
	color: var(--muted);
	font-weight: 500;
	white-space: nowrap;
	width: 1%;
}

.formats td {
	color: var(--text-2);
}

@media (max-width: 560px) {
	.formats th,
	.formats td {
		display: block;
		width: auto;
		padding: 4px 0;
		border: 0;
	}

	.formats tr {
		display: block;
		padding: 12px 0;
		border-bottom: 1px solid var(--line);
	}
}

/* looks */

.looks {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.looks figure {
	margin: 0;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.looks img {
	width: 100%;
	max-width: 320px;
	height: auto;
}

.looks figcaption {
	color: var(--text-2);
	font-size: 14px;
	text-align: center;
}

/* privacy list */

.checks {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.checks li {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px;
	color: var(--text-2);
}

.checks strong {
	display: block;
	color: var(--text);
	font-weight: 600;
	margin-bottom: 4px;
}

/* faq */

.faq {
	max-width: 760px;
}

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

.faq summary {
	cursor: pointer;
	list-style: none;
	padding: 18px 0;
	font-weight: 600;
	font-size: 17px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	min-height: 44px;
}

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

.faq summary::after {
	content: "+";
	color: var(--muted);
	font-weight: 400;
}

.faq details[open] summary::after {
	content: "\2212";
}

.faq details p {
	margin: 0 0 18px;
	color: var(--text-2);
}

/* download */

.download {
	text-align: center;
}

.download .section-head {
	margin: 0 auto 32px;
}

.download .actions {
	justify-content: center;
}

/* long reads */

.doc {
	max-width: 720px;
	padding: clamp(48px, 8vw, 88px) 0;
}

.doc h1 {
	font-size: clamp(34px, 5vw, 48px);
}

.doc .dated {
	color: var(--muted);
	font-size: 14px;
	margin: 12px 0 32px;
}

.doc h2 {
	font-size: 22px;
	margin: 36px 0 8px;
}

.doc p,
.doc li {
	color: var(--text-2);
}

.doc code {
	overflow-wrap: anywhere;
}

/* footer */

.footer {
	border-top: 1px solid var(--line);
	padding: 56px 0 32px;
	font-size: 14px;
}

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

.foot-brand p {
	color: var(--muted);
	margin: 8px 0 0;
	max-width: 22em;
}

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

.footer h2 {
	font-size: 13px;
	font-weight: 500;
	color: var(--muted);
	letter-spacing: 0;
	margin-bottom: 8px;
}

.footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer li a {
	color: var(--text-2);
	text-decoration: none;
	display: inline-flex;
	min-height: 44px;
	align-items: center;
}

@media (pointer: fine) {
	.footer li a {
		min-height: 34px;
	}
}

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

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

.footer .base p {
	margin: 0;
}

.footer .base a {
	color: var(--text);
	text-decoration: none;
	border-bottom: 1px solid var(--line-strong);
}

.footer .base a:hover {
	border-bottom-color: var(--lime);
}

@media (max-width: 560px) {
	.footer .cols {
		gap: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
