@font-face {
	font-family: 'Satoshi';
	font-weight: 500;
	font-display: swap;
	src: url('/assets/fonts/satoshi-500.woff2') format('woff2');
}

@font-face {
	font-family: 'Satoshi';
	font-weight: 900;
	font-display: swap;
	src: url('/assets/fonts/satoshi-900.woff2') format('woff2');
}

:root {
	--paper: #ebeae6;
	--white: #f7f7f4;
	--orange: #f15831;
	--green: #70b67f;
	--blue: #49819c;
	--ink: #241f21;
	--line: rgba(36, 31, 33, 0.18);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: 'Satoshi', sans-serif;
	font-weight: 500;
	-webkit-font-smoothing: antialiased;
}

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

header,
.hero,
.statement,
.approach,
.trust,
.waitlist,
footer {
	padding-inline: max(24px, calc((100vw - 1180px) / 2));
}

header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 84px;
	border-bottom: 1px solid var(--line);
}

.brand {
	font-size: 22px;
	font-weight: 900;
	letter-spacing: -0.04em;
}

.brand span,
.hero h1 .accent {
	color: var(--orange);
}

nav {
	display: flex;
	align-items: center;
	gap: 26px;
	font-size: 13px;
}

nav a:not(.header-cta) {
	transition: color 160ms ease;
}

nav a:not(.header-cta):hover {
	color: var(--blue);
}

.header-cta,
.button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	background: var(--blue);
	color: var(--white);
	font-weight: 900;
	transition: background-color 180ms ease, transform 180ms ease;
}

.header-cta {
	padding: 11px 18px;
	border-radius: 99px;
}

.button {
	min-width: 190px;
	padding: 15px 20px;
	border-radius: 99px;
}

.header-cta:hover,
.button:hover {
	background: var(--ink);
	transform: translateY(-2px);
}

.hero {
	display: grid;
	grid-template-columns: minmax(330px, 0.72fr) minmax(520px, 1.28fr);
	gap: clamp(48px, 7vw, 100px);
	align-items: center;
	min-height: calc(100svh - 84px);
	padding-block: 76px;
	overflow: hidden;
}

.hero-copy {
	position: relative;
	z-index: 1;
	animation: copy-in 650ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero h1 {
	margin: 0;
	font-size: clamp(56px, 4.7vw, 78px);
	font-weight: 900;
	letter-spacing: -0.07em;
	line-height: 0.9;
}

.headline-line {
	display: block;
	white-space: nowrap;
}

.audience {
	margin: 30px 0;
	color: var(--blue);
	font-size: clamp(18px, 2vw, 23px);
}

.hero-product {
	position: relative;
	margin: 0;
	animation: product-in 750ms 100ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
	perspective: 1200px;
}

.hero-product picture {
	display: block;
	overflow: hidden;
	border: 1px solid rgba(36, 31, 33, 0.12);
	border-radius: 18px;
	background: white;
	box-shadow: 0 38px 90px -42px rgba(36, 31, 33, 0.58);
	transform: rotateY(-2deg) rotateX(1deg);
	transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-product:hover picture {
	transform: rotateY(0) rotateX(0) translateY(-5px);
}

.hero-product img {
	display: block;
	width: 100%;
}

.hero-phone {
	position: absolute;
	left: -38px;
	bottom: 42px;
	width: clamp(108px, 10vw, 142px);
	overflow: hidden;
	border: 5px solid var(--white);
	border-radius: 24px;
	background: var(--white);
	box-shadow: 0 28px 55px -25px rgba(36, 31, 33, 0.65);
	transform: rotate(-2deg);
	transition: transform 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-product:hover .hero-phone {
	transform: rotate(0) translateY(-4px);
}

.hero-product figcaption {
	margin-top: 18px;
	color: var(--blue);
	font-size: 13px;
}

.statement {
	padding-block: 120px;
	border-top: 1px solid var(--line);
}

.statement h2,
.approach h2,
.trust h2,
.waitlist h2 {
	margin: 0;
	font-size: clamp(40px, 5vw, 70px);
	font-weight: 900;
	letter-spacing: -0.055em;
	line-height: 1;
}

.statement h2 {
	max-width: 900px;
	margin-left: auto;
}

.approach {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(60px, 10vw, 150px);
	padding-block: 120px;
	background: var(--ink);
	color: var(--paper);
}

.approach-detail ul {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid rgba(235, 234, 230, 0.24);
}

.approach-detail li {
	position: relative;
	padding: 20px 0 20px 30px;
	border-bottom: 1px solid rgba(235, 234, 230, 0.24);
	font-size: 18px;
}

.approach-detail li::before {
	position: absolute;
	left: 0;
	color: var(--orange);
	content: '—';
}

.trust {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(60px, 10vw, 150px);
	align-items: start;
	padding-block: 120px;
	border-bottom: 1px solid var(--line);
}

.trust p {
	max-width: 580px;
	margin: 0;
	color: var(--blue);
	font-size: 18px;
	line-height: 1.65;
}

.waitlist {
	display: grid;
	grid-template-columns: 1.25fr 0.75fr;
	gap: clamp(60px, 10vw, 140px);
	padding-block: 120px;
	background: var(--green);
}

.waitlist-action > p {
	margin: 0 0 32px;
	line-height: 1.6;
}

.waitlist form {
	display: grid;
	gap: 12px;
}

.waitlist input[type='email'] {
	width: 100%;
	padding: 15px 18px;
	border: 1px solid transparent;
	border-radius: 99px;
	outline: 0;
	background: var(--white);
	color: var(--ink);
	font: inherit;
}

.waitlist input[type='email']:focus {
	border-color: var(--blue);
}

.waitlist button {
	display: flex;
	justify-content: space-between;
	padding: 15px 19px;
	border: 0;
	border-radius: 99px;
	background: var(--ink);
	color: var(--white);
	font: inherit;
	font-weight: 900;
	cursor: pointer;
	transition: background-color 180ms ease;
}

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

.notice {
	padding: 18px;
	border: 2px solid var(--ink);
	border-radius: 14px;
	font-weight: 900;
}

.form-error {
	font-weight: 900;
}

.honeypot,
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

footer {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding-block: 28px;
	font-size: 12px;
}

footer p {
	margin: 0;
}

footer div {
	display: flex;
	gap: 24px;
}

@keyframes copy-in {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes product-in {
	from {
		opacity: 0;
		transform: translateX(28px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@media (max-width: 900px) {
	nav a:nth-child(1),
	nav a:nth-child(2) {
		display: none;
	}

	.hero {
		grid-template-columns: 1fr;
		gap: 60px;
		padding-block: 70px;
	}

	.hero-copy {
		max-width: 650px;
	}

	.hero-product {
		width: min(800px, 92vw);
	}

	.hero-phone {
		display: none;
	}
}

@media (max-width: 640px) {
	header {
		min-height: 72px;
	}

	nav {
		gap: 16px;
	}

	.header-cta {
		display: none;
	}

	.hero {
		min-height: calc(100svh - 72px);
		padding-block: 54px 64px;
	}

	.hero h1 {
		font-size: clamp(52px, 16vw, 72px);
	}

	.headline-line {
		white-space: normal;
	}

	.hero-product {
		width: 100%;
	}

	.hero-product picture {
		max-height: 390px;
	}

	.hero-product img {
		height: 390px;
		object-fit: cover;
		object-position: top;
	}

	.statement,
	.approach,
	.trust,
	.waitlist {
		grid-template-columns: 1fr;
		gap: 42px;
		padding-block: 78px;
	}

	.statement h2 {
		margin-left: 0;
	}

	footer {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
