/* ===== Thank You page (standalone, no header/footer) ===== */

.thankyou-section {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 24px 0;
	background: radial-gradient(
		1200px 400px at 50% -10%,
		#ffffff 0%,
		#f1f5f9 50%,
		#edf2f7 100%
	);
	background-color: var(--bg);
}

.thankyou-container {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	width: min(100% - 24px, 720px);
	padding: clamp(18px, 4vw, 32px);
	text-align: center;
	animation: ty-reveal 0.6s ease both;
}

.thankyou-title {
	font-weight: 800; /* ExtraBold in our font set */
	font-size: clamp(22px, 2.6vw, 36px);
	margin: 0 0 8px;
	color: var(--ink);
}

.thankyou-message {
	color: var(--muted);
	margin: 0 0 16px;
	line-height: 1.65;
}

/* Button styled locally (без инлайна, без сторонних библиотек) */
.cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 16px;
	border-radius: 14px;
	border: 1px solid transparent;
	background: var(--brand);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	box-shadow: var(--shadow);
	transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.cta-button:hover {
	transform: translateY(-2px);
	background: color-mix(in oklab, var(--brand), #000 12%);
}

/* Subtle entrance */
@keyframes ty-reveal {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive tweaks */
@media (max-width: 480px) {
	.thankyou-title {
		font-size: 22px;
	}
}
