@font-face {
	font-family: "Surt";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/fonts/AT_Surt_Regular.woff2") format("woff2");
}

:root {
	--gray-950: #121212;
	--gray-200: #a5a5a5;
	--off-white: #fafafa;
	--primary: #d5ff5c;
	--polkadot: #dd186e;
	--polkadot-dark: #74163f;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--gray-950);
	color: var(--off-white);
	font-family: "Surt", sans-serif;
	-webkit-font-smoothing: antialiased;
}

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

main {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	position: relative;
}

header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px;
}

.logo {
	display: block;
	width: 120px;
	height: auto;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 17px;
	border-radius: 8px;
	background: var(--primary);
	color: #000;
	font-size: 16px;
	white-space: nowrap;
	transition: background-color 150ms;
}

.button:hover {
	background: rgb(213 255 92 / 0.9);
}

.hero {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 40px 24px 64px;
}

h1 {
	margin: 0;
	font-size: 40px;
	font-weight: 400;
	line-height: 1.4;
}

.hero p {
	margin: 0;
	max-width: 636px;
	font-size: 16px;
	line-height: 1.6;
}

h1 + p {
	margin-top: 28px;
}

.hero .countdown {
	margin-top: 32px;
	opacity: 0.4;
}

.countdown + .button {
	margin-top: 12px;
}

.panel {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	padding: 28px 0 0 28px;
	background: var(--polkadot-dark);
}

.circle {
	position: absolute;
	border-radius: 50%;
	background: var(--polkadot);
}

.circle:nth-child(1) {
	width: 232px;
	height: 232px;
	top: -10%;
	left: -12%;
}

.circle:nth-child(2) {
	width: 295px;
	height: 295px;
	top: 8px;
	right: -8%;
}

.circle:nth-child(3) {
	width: 78px;
	height: 78px;
	bottom: 16%;
	right: 12%;
}

.circle:nth-child(4) {
	width: 437px;
	height: 437px;
	top: 72%;
	left: -20%;
}

.mockup {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
}

.desaturated {
	position: relative;
}

.desaturated::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: #d9d9d9;
	mix-blend-mode: color;
	pointer-events: none;
}

footer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 16px 24px;
	font-size: 14px;
}

footer nav {
	display: flex;
	gap: 12px;
}

footer nav a:hover {
	color: var(--gray-200);
}

.powered-by {
	display: flex;
	align-items: center;
	gap: 8px;
}

.powered-by:hover {
	opacity: 0.8;
}

.powered-by img {
	display: block;
	width: 80px;
	height: auto;
}

@media (min-width: 640px) {
	.logo {
		width: 300px;
	}
}

@media (min-width: 768px) {
	header {
		padding: 24px 80px;
	}

	.hero {
		padding-left: 80px;
	}

	footer {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
	}
}

@media (min-width: 1024px) {
	main {
		flex-direction: row;
	}

	header {
		position: absolute;
		inset: 0 0 auto;
		z-index: 1;
	}

	.hero {
		justify-content: center;
		width: 60%;
		padding: 128px 24px 128px 80px;
	}

	h1 {
		font-size: 64px;
	}

	.panel {
		width: 40%;
		padding: 104px 0 104px 68px;
	}

	footer {
		position: absolute;
		inset: auto 0 0;
		padding: 0 96px 24px;
	}
}
