/* Peeper landing — single-viewport layout (theme shared via ../shared.css) */

html {
	-webkit-text-size-adjust: 100%;
	overflow: hidden;
	overscroll-behavior: none;
}

body {
	margin: 0;
	height: 100vh;
	height: 100dvh;
	min-height: 0;
	overflow: hidden;
	overscroll-behavior: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: clamp(1.5rem, 5vh, 2.5rem);
	padding: 1.5rem 1rem 3.25rem;
	background: var(--bg);
	color: var(--ink);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	text-align: center;
}

.mascot {
	width: clamp(120px, 22vw, 190px);
}

.hero h1 {
	margin: 0;
	font-size: clamp(2.25rem, 7vw, 3.5rem);
	font-weight: 800;
	letter-spacing: -0.05em;
	line-height: 1;
	color: var(--ink);
}

.tagline {
	margin: 0;
	font-size: clamp(0.95rem, 3vw, 1.15rem);
	font-weight: 600;
	opacity: 0.85;
}

.tagline-sub {
	margin: 0;
	font-size: clamp(0.75rem, 2.5vw, 0.9rem);
	color: var(--frog-dark);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

main {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(1.25rem, 4vh, 2rem);
	width: min(100%, 46rem);
}

.value-prop {
	text-align: center;
}

.value-prop p {
	margin: 0;
	font-size: clamp(0.95rem, 3vw, 1.15rem);
	font-weight: 600;
	line-height: 1.4;
}

.value-prop strong {
	color: var(--frog-dark);
}

.goals {
	display: flex;
	gap: 0.75rem;
}

/* round icon chips — custom green goal icons */
.chip {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.9rem;
	height: 2.9rem;
	padding: 0;
	border: 2px solid var(--card-border);
	border-radius: 999px;
	background: var(--card);
	-webkit-user-select: none;
	user-select: none;
}

.chip svg {
	width: 1.6rem;
	height: 1.6rem;
}

.stores {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 0.6rem;
}

/* hub-card-style store buttons */
.store-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.5rem;
	padding: 0.5rem 1.1rem;
	border: 2px solid var(--card-border);
	border-radius: 1.25rem;
	background: var(--card);
	color: var(--ink);
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	white-space: nowrap;
	cursor: pointer;
	touch-action: manipulation;
	transition:
		transform 0.15s ease,
		box-shadow 0.15s ease,
		border-color 0.15s ease,
		background-color 0.15s ease;
}

.store-btn svg {
	width: 1.15rem;
	height: 1.15rem;
	flex: none;
}

.store-btn:hover {
	transform: translateY(-2px);
	border-color: var(--frog);
	box-shadow: 0 8px 24px rgba(14, 59, 46, 0.12);
	background: var(--card-hover);
}

.store-btn:active {
	transform: translateY(0);
}

.store-btn:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
}

.coming-soon {
	position: absolute;
	top: calc(100% + 0.75rem);
	left: 0;
	right: 0;
	margin: 0;
	text-align: center;
	font-weight: 600;
	font-size: 0.85rem;
	opacity: 0.8;
}

.back-link {
	color: inherit;
	text-decoration: none;
	font-weight: 600;
}

.back-link:hover,
.back-link:focus-visible {
	text-decoration: underline;
	outline: none;
}

/* no barbell on peeper — the frog calls out, it doesn't lift (fitkor's job) */
.mascot .bar {
	display: none;
}

/* slow idle — gentle, like fitkor's bar curl */
.meet-frog {
	animation: head-bob 2.4s ease-in-out infinite;
}

/* narrow phones: keep both store buttons on one row */
@media (max-width: 30rem) {
	.stores {
		gap: 0.5rem;
	}
	.store-btn {
		padding: 0.45rem 0.8rem;
		font-size: 0.85rem;
		gap: 0.4rem;
	}
}

/* short viewports: shrink so nothing clips */
@media (max-height: 640px) {
	body {
		gap: 1rem;
		padding: 1rem 1rem 3rem;
	}
	.mascot {
		width: clamp(84px, 16vw, 110px);
	}
	.hero h1 {
		font-size: clamp(1.75rem, 6vw, 2.5rem);
	}
	main {
		gap: 1rem;
	}
	.chip {
		width: 2.4rem;
		height: 2.4rem;
	}
	.chip svg {
		width: 1.35rem;
		height: 1.35rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.store-btn {
		transition: none;
	}
	.store-btn:hover {
		transform: none;
	}
}
