:root {
	--tkal-ink: #172044;
	--tkal-paper: #fffdf7;
	--tkal-purple: #6c60f6;
	--tkal-red: #ea4335;
	--tkal-green: #20a464;
	--tkal-yellow: #ffd83d;
	--tkal-border: rgba(23, 32, 68, 0.16);
}

.trikids-app-launch-page {
	margin: 0;
	background: var(--tkal-paper);
	color: var(--tkal-ink);
	font-family: "Nunito", "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 18px;
	line-height: 1.65;
}

.trikids-app-launch-page * {
	box-sizing: border-box;
}

.trikids-app-launch-page a {
	color: inherit;
}

.tkal-skip {
	position: fixed;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 9999;
	padding: 0.7rem 1rem;
	background: #fff;
	transform: translateY(-160%);
}

.tkal-skip:focus {
	transform: none;
}

.tkal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(100% - 2rem, 1180px);
	margin: 0 auto;
	padding: 1.15rem 0;
}

.tkal-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	font-size: 1.35rem;
	font-weight: 900;
	text-decoration: none;
}

.tkal-brand-mark {
	display: grid;
	width: 2.45rem;
	height: 2.45rem;
	place-items: center;
	border-radius: 35% 65% 55% 45%;
	background: var(--tkal-purple);
	color: #fff;
	font-size: 0.82rem;
	transform: rotate(-5deg);
}

.tkal-header-link {
	font-size: 0.9rem;
	font-weight: 800;
}

.tkal-main {
	overflow: hidden;
}

.tkal-hero,
.tkal-signup {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: center;
	width: min(100% - 2rem, 1180px);
	margin: 0 auto;
}

.tkal-hero {
	min-height: 72vh;
	padding: clamp(3rem, 7vw, 7rem) 0;
}

.tkal-kicker {
	margin: 0 0 0.7rem;
	color: var(--tkal-purple);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.tkal-copy h1,
.tkal-form-intro h2 {
	margin: 0;
	font-family: "Fredoka", "Trebuchet MS", sans-serif;
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.04;
}

.tkal-copy h1 {
	color: var(--tkal-ink);
	max-width: 700px;
	font-size: clamp(3.2rem, 8vw, 6.8rem);
}

.tkal-copy h1 span {
	color: var(--tkal-purple);
}

.tkal-lead {
	font-size: clamp(1.1rem, 2vw, 1.3rem);
	font-weight: 700;
}

.tkal-copy p:not(.tkal-kicker) {
	max-width: 670px;
}

.tkal-art {
	position: relative;
	margin: 0;
}

.tkal-art::before {
	position: absolute;
	inset: -7% -9%;
	z-index: -1;
	border-radius: 46% 54% 60% 40%;
	background: var(--tkal-yellow);
	content: "";
	transform: rotate(4deg);
}

.tkal-art img {
	display: block;
	width: 100%;
	height: auto;
	border: 8px solid #fff;
	border-radius: 2rem;
	box-shadow: 0 28px 70px rgba(23, 32, 68, 0.22);
	transform: rotate(-2deg);
}

.tkal-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.35rem;
	padding: 0.8rem 1.35rem;
	border: 0;
	border-radius: 999px;
	background: var(--tkal-red);
	box-shadow: 0 8px 0 #aa2a22;
	color: #fff !important;
	font: inherit;
	font-weight: 900;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.tkal-button:hover,
.tkal-button:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 10px 0 #aa2a22;
}

.tkal-button:disabled {
	opacity: 0.65;
	cursor: wait;
}

.tkal-button-secondary {
	margin-top: 0.75rem;
}

.tkal-signup {
	position: relative;
	width: 100%;
	max-width: none;
	padding: clamp(4rem, 8vw, 8rem) max(1rem, calc((100vw - 1180px) / 2));
	background: var(--tkal-ink);
	color: #fff;
}

.tkal-signup::before {
	position: absolute;
	top: -1.5rem;
	left: -2%;
	width: 104%;
	height: 3rem;
	background: var(--tkal-ink);
	clip-path: polygon(0 60%, 12% 28%, 25% 66%, 40% 20%, 55% 64%, 70% 25%, 85% 60%, 100% 22%, 100% 100%, 0 100%);
	content: "";
}

.tkal-form-intro h2 {
	color: #fff;
	font-size: clamp(2.25rem, 5vw, 4.5rem);
}

.tkal-form-intro ul {
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.tkal-form-intro li {
	position: relative;
	margin: 0.6rem 0;
	padding-left: 1.8rem;
}

.tkal-form-intro li::before {
	position: absolute;
	left: 0;
	color: var(--tkal-yellow);
	font-weight: 900;
	content: "✓";
}

.tkal-form-card {
	padding: clamp(1.4rem, 4vw, 2.4rem);
	border-radius: 1.5rem;
	background: #fff;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
	color: var(--tkal-ink);
}

.tkal-form {
	display: grid;
	gap: 0.8rem;
}

.tkal-form label:not(.tkal-consent) {
	margin-bottom: -0.45rem;
	font-size: 0.9rem;
	font-weight: 900;
}

.tkal-form input[type="text"],
.tkal-form input[type="email"] {
	width: 100%;
	min-height: 3.25rem;
	padding: 0.75rem 0.9rem;
	border: 2px solid var(--tkal-border);
	border-radius: 0.75rem;
	background: #fff;
	color: var(--tkal-ink);
	font: inherit;
}

.tkal-form input:focus {
	border-color: var(--tkal-purple);
	outline: 3px solid rgba(108, 96, 246, 0.2);
}

.tkal-consent {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.7rem;
	align-items: start;
	font-size: 0.88rem;
	font-weight: 700;
}

.tkal-consent input {
	width: 1.2rem;
	height: 1.2rem;
	margin-top: 0.2rem;
	accent-color: var(--tkal-purple);
}

.tkal-form .cf-turnstile {
	min-height: 65px;
}

.tkal-privacy,
.tkal-noscript {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.45;
}

.tkal-noscript,
.tkal-form-error {
	padding: 0.75rem;
	border-radius: 0.65rem;
	background: #fff3d0;
	color: #6a3e00;
}

.tkal-form-error {
	margin: 0;
	font-size: 0.86rem;
}

.tkal-notice,
.tkal-success {
	padding: 1rem;
	border-radius: 0.8rem;
}

.tkal-notice {
	margin-bottom: 1rem;
}

.tkal-notice-success,
.tkal-success {
	background: #e5f8ee;
	color: #075d33;
}

.tkal-notice-error {
	background: #fff0ee;
	color: #8a211b;
}

.tkal-success strong {
	display: block;
	font-family: "Fredoka", "Trebuchet MS", sans-serif;
	font-size: 2rem;
}

.tkal-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.tkal-footer {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	width: min(100% - 2rem, 1180px);
	margin: 0 auto;
	padding: 2rem 0;
	font-size: 0.8rem;
}

@media (max-width: 820px) {
	.tkal-hero,
	.tkal-signup {
		grid-template-columns: 1fr;
	}

	.tkal-hero {
		padding-top: 2rem;
	}

	.tkal-art {
		width: min(88%, 560px);
		margin: 2rem auto 0;
	}
}

@media (max-width: 560px) {
	.trikids-app-launch-page {
		font-size: 16px;
	}

	.tkal-header-link {
		display: none;
	}

	.tkal-copy h1 {
		font-size: clamp(3rem, 17vw, 4.6rem);
	}

	.tkal-footer {
		flex-direction: column;
	}
}

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