:root {
	color-scheme: dark;
	--background: #080808;
	--surface: oklch(0.192 0.002 17.3);
	--foreground: #eee8e3;
	--muted: #a7a4a2;
	--border: oklch(1 0 0 / 10%);
	--brand: #2d7a4e;
	--max-width: 48rem;
}

* {
	box-sizing: border-box;
}

html {
	background: var(--background);
	color: var(--foreground);
	font-family:
		"Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

body {
	margin: 0;
	min-height: 100vh;
	overflow-x: hidden;
}

a {
	color: inherit;
	text-decoration-color: color-mix(in oklch, currentColor 55%, transparent);
	text-underline-offset: 0.2em;
	overflow-wrap: anywhere;
}

a:hover {
	text-decoration-color: currentColor;
}

a:focus-visible {
	border-radius: 0.15rem;
	outline: 2px solid var(--brand);
	outline-offset: 4px;
}

.page {
	margin: 0 auto;
	width: 100%;
	max-width: calc(var(--max-width) + 2.5rem);
	padding-inline: 1.25rem;
}

.marketing-header {
	display: flex;
	width: 100%;
	max-width: 75rem;
	align-items: center;
	margin-inline: auto;
	padding: 1rem 1.5rem;
}

.marketing-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	color: #f4f0ec;
	font-family: "Cal Sans", Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: 1.5rem;
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 1;
}

.marketing-brand svg {
	width: 1.375rem;
	height: auto;
	flex: none;
}

.marketing-hero {
	display: grid;
	width: 100%;
	max-width: 75rem;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	gap: 3rem;
	overflow: hidden;
	margin-inline: auto;
	padding: 3rem 1.5rem 0;
}

.marketing-copy {
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.yc-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.375rem 0.75rem;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	color: var(--muted);
	font-size: 0.75rem;
	line-height: 1;
}

.yc-mark {
	display: grid;
	width: 1rem;
	height: 1rem;
	place-items: center;
	border-radius: 0.1875rem;
	background: #f26522;
	color: white;
	font-size: 0.625rem;
	font-weight: 700;
}

.marketing-copy h1 {
	max-width: 12ch;
	margin: 1.5rem 0 0;
	color: var(--foreground);
	font-family: "Cal Sans", Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: 2.5rem;
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 1.05;
}

.marketing-copy p {
	max-width: 42rem;
	margin: 1.5rem 0 0;
	color: var(--muted);
	font-size: 1rem;
	letter-spacing: 0;
	line-height: 1.625;
}

.product-preview {
	position: relative;
	width: 40rem;
	aspect-ratio: 1232 / 622;
	overflow: hidden;
	border: 1px solid #202020;
	border-radius: 0.75rem;
	background: #0b0b0b;
	box-shadow: 0 1.5rem 3rem -0.75rem rgb(0 0 0 / 40%);
	justify-self: start;
}

.product-preview img {
	position: absolute;
	top: -45.3%;
	left: -87.7%;
	width: 191%;
	max-width: none;
	height: auto;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

.legal {
	padding-block: clamp(3rem, 8vw, 6rem);
}

.legal header {
	margin-bottom: 3.5rem;
}

.legal h1 {
	margin-bottom: 0.5rem;
	font-size: clamp(2.25rem, 6vw, 3.5rem);
}

.legal header p {
	margin-bottom: 0.15rem;
	color: var(--muted);
	font-size: 0.875rem;
}

.legal section + section {
	margin-top: 2.75rem;
}

.legal h2 {
	margin-bottom: 0.75rem;
	font-size: 1.125rem;
	line-height: 1.4;
}

.legal h3 {
	margin: 1.5rem 0 0.4rem;
	font-size: 1rem;
}

.legal p,
.legal li {
	color: color-mix(in oklch, var(--foreground) 92%, transparent);
	font-size: 1rem;
}

.legal p {
	margin-bottom: 0.85rem;
}

.legal ul {
	margin: 0.6rem 0 1rem;
	padding-left: 1.4rem;
}

.not-found {
	display: grid;
	min-height: 100vh;
	place-items: center;
	padding: 2rem;
	text-align: center;
}

.not-found h1 {
	margin-bottom: 0.5rem;
	font-size: 2rem;
}

.not-found p {
	color: var(--muted);
}

@media (min-width: 40rem) {
	.marketing-header {
		padding-inline: 2rem;
	}

	.marketing-hero {
		padding: 4rem 2rem 0;
	}

	.marketing-copy h1 {
		font-size: 3.25rem;
	}
}

@media (min-width: 64rem) {
	.marketing-copy {
		align-items: flex-start;
		text-align: left;
	}

	.marketing-hero {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: 4rem;
		padding-top: 5rem;
	}

	.marketing-copy h1 {
		font-size: 3.75rem;
	}

	.marketing-copy p {
		font-size: 1.125rem;
	}

	.product-preview {
		justify-self: end;
	}
}

@media (max-width: 35rem) {
	.page {
		padding-inline: 1rem;
	}
}
