:root {
	--cocorota-black: #050505;
	--cocorota-ink: #141414;
	--cocorota-muted: #68635b;
	--cocorota-paper: #fffdf7;
	--cocorota-cream: #f7f0e3;
	--cocorota-gold: #f9b21d;
	--cocorota-red: #f05a43;
	--cocorota-teal: #0da6ad;
	--cocorota-line: rgba(20, 20, 20, 0.12);
}

html,
body.cocorota-launch-page {
	margin: 0;
	min-height: 100%;
	background: var(--cocorota-paper);
}

.cocorota-launch {
	position: relative;
	display: grid;
	min-height: 100vh;
	overflow: hidden;
	background:
		linear-gradient(rgba(20, 20, 20, 0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(20, 20, 20, 0.025) 1px, transparent 1px),
		radial-gradient(circle at 18% 24%, rgba(13, 166, 173, 0.08), transparent 24rem),
		radial-gradient(circle at 84% 28%, rgba(249, 178, 29, 0.1), transparent 26rem),
		linear-gradient(180deg, #fffdf8 0%, #fbf3e6 100%);
	background-size: 34px 34px, 34px 34px, auto, auto, auto;
	color: var(--cocorota-ink);
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	isolation: isolate;
}

.cocorota-launch::before {
	position: absolute;
	inset: clamp(0.9rem, 2vw, 1.5rem);
	z-index: -1;
	border: 1px solid rgba(20, 20, 20, 0.1);
	content: "";
}

.cocorota-launch::after {
	position: absolute;
	left: 50%;
	bottom: clamp(1rem, 4vw, 3.5rem);
	z-index: -1;
	width: min(78vw, 48rem);
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(20, 20, 20, 0.18), transparent);
	content: "";
	transform: translateX(-50%);
}

.cocorota-hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: min(980px, calc(100% - 42px));
	margin: 0 auto;
	padding: clamp(4.5rem, 9vh, 7rem) 0 clamp(3rem, 6vh, 5rem);
	text-align: center;
}

.cocorota-logo-wrap {
	width: min(560px, 78vw);
	margin-bottom: clamp(2.25rem, 5vw, 4rem);
	padding: 0;
}

.cocorota-logo {
	display: block;
	width: 100%;
	height: auto;
}

.cocorota-kicker {
	margin: 0 0 1.05rem;
	color: var(--cocorota-muted);
	font-size: clamp(0.78rem, 1vw, 0.88rem);
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.cocorota-hero h1 {
	max-width: 660px;
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 4.4vw, 3.1rem);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: 0;
	text-wrap: balance;
}

.cocorota-copy {
	max-width: 540px;
	margin: clamp(1.2rem, 3vw, 1.75rem) auto 0;
	color: var(--cocorota-muted);
	font-size: clamp(1.02rem, 1.65vw, 1.22rem);
	font-weight: 400;
	line-height: 1.65;
}

.cocorota-countdown {
	display: grid;
	grid-template-columns: repeat(4, minmax(70px, 1fr));
	gap: 0;
	width: min(560px, 100%);
	margin-top: clamp(2.2rem, 5vw, 3.6rem);
	border-top: 1px solid var(--cocorota-line);
	border-bottom: 1px solid var(--cocorota-line);
}

.count-item {
	display: grid;
	min-height: 96px;
	place-items: center;
	padding: 1rem 0.65rem;
	background: rgba(255, 253, 247, 0.46);
	border-right: 1px solid var(--cocorota-line);
	box-shadow: none;
}

.count-item:last-child {
	border-right: 0;
}

.count-item strong {
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 4.5vw, 3.35rem);
	font-weight: 400;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.count-item span {
	display: block;
	margin-top: 0.55rem;
	color: var(--cocorota-muted);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
}

.count-item:nth-child(1) {
	color: var(--cocorota-ink);
}

.count-item:nth-child(2) strong {
	color: var(--cocorota-teal);
}

.count-item:nth-child(3) strong {
	color: var(--cocorota-red);
}

.count-item:nth-child(4) strong {
	color: var(--cocorota-gold);
}

.cocorota-sky {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.cocorota-orbit {
	position: absolute;
	display: block;
	width: clamp(0.5rem, 1vw, 0.74rem);
	aspect-ratio: 1;
	border-radius: 999px;
	opacity: 0.72;
}

.orbit-teal {
	top: 22%;
	left: 14%;
	background: var(--cocorota-teal);
}

.orbit-coral {
	right: 16%;
	top: 30%;
	background: var(--cocorota-red);
}

.orbit-gold {
	left: 51%;
	bottom: 18%;
	background: var(--cocorota-gold);
}

.orbit-teal-soft {
	right: 28%;
	bottom: 27%;
	width: clamp(0.38rem, 0.8vw, 0.58rem);
	background: var(--cocorota-teal);
	opacity: 0.42;
}

.orbit-coral-soft {
	left: 24%;
	bottom: 34%;
	width: clamp(0.42rem, 0.85vw, 0.62rem);
	background: var(--cocorota-red);
	opacity: 0.44;
}

.orbit-gold-soft {
	top: 18%;
	left: 39%;
	width: clamp(0.36rem, 0.75vw, 0.55rem);
	background: var(--cocorota-gold);
	opacity: 0.5;
}

.orbit-ink-soft {
	right: 9%;
	bottom: 14%;
	width: clamp(0.3rem, 0.65vw, 0.48rem);
	background: var(--cocorota-black);
	opacity: 0.28;
}

@media (max-width: 760px) {
	.cocorota-launch::before {
		inset: 10px;
	}

	.cocorota-hero {
		width: min(100% - 32px, 620px);
		justify-content: flex-start;
		padding-top: 4.4rem;
	}

	.cocorota-logo-wrap {
		width: min(420px, 76vw);
	}

	.cocorota-hero h1 {
		font-size: clamp(2rem, 9vw, 3.05rem);
	}

	.cocorota-countdown {
		width: min(420px, 100%);
	}

	.count-item {
		min-height: 82px;
	}

	.orbit-coral,
	.orbit-ink-soft {
		display: none;
	}
}

@media (max-width: 420px) {
	.cocorota-countdown {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.count-item:nth-child(2) {
		border-right: 0;
	}

	.count-item:nth-child(-n+2) {
		border-bottom: 1px solid var(--cocorota-line);
	}
}

@media (prefers-reduced-motion: no-preference) {
	.cocorota-orbit {
		animation: cocorota-float 7s ease-in-out infinite;
	}

	.orbit-coral {
		animation-delay: -2s;
	}

	.orbit-gold {
		animation-delay: -3.5s;
	}
}

@keyframes cocorota-float {
	0%,
	100% {
		translate: 0 0;
	}

	50% {
		translate: 0 -12px;
	}
}
