/* Book a Demo -- one-question-per-page wizard.
   Loaded after styles.css, so it inherits the site's tokens, fonts,
   reset, .header/.logo, .grain, .cta, and .form-msg as-is; everything
   here is specific to this page's step-by-step layout. */

body.wizard-body {
	min-height: 100vh;
}

.header .logo {
	text-decoration: none;
}
.wizard-close {
	font-family: "Space Grotesk";
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--ink);
	text-decoration: none;
}
.wizard-close:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

.wizard-progress {
	position: fixed;
	top: 76px;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--hairline);
	z-index: 30;
}
.wizard-progress span {
	display: block;
	height: 100%;
	width: 0%;
	background: var(--ink);
	transition: width 0.4s var(--ease);
}

.wizard {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 140px 32px 80px;
}
.wizard-form {
	width: 100%;
	max-width: 560px;
}

.wizard-step {
	display: none;
}
.wizard-step.active {
	display: block;
	animation: wizardIn 0.5s var(--ease);
}
@keyframes wizardIn {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.wizard-kicker {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #888;
	margin-bottom: 18px;
}
.wizard-step label {
	display: block;
	font-family: "Anton", sans-serif;
	font-size: clamp(24px, 4.2vw, 38px);
	line-height: 1.1;
	letter-spacing: -0.01em;
	margin-bottom: 28px;
}
.wizard-step input,
.wizard-step textarea {
	width: 100%;
	background: none;
	border: none;
	border-bottom: 2px solid var(--ink);
	color: var(--ink);
	font-family: "Space Grotesk";
	font-size: 20px;
	padding: 8px 2px 14px;
	outline: none;
	resize: vertical;
}
.wizard-step textarea {
	font-size: 16px;
	line-height: 1.5;
}
.wizard-step input::placeholder,
.wizard-step textarea::placeholder {
	color: #aaa;
}
.wizard-err {
	min-height: 1.4em;
	font-size: 12px;
	color: var(--red);
	margin-top: 8px;
}

.wizard-actions {
	display: flex;
	align-items: center;
	margin-top: 28px;
}
.wizard-actions-right {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
}
.wizard-hint {
	font-size: 11px;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.wizard-hint strong {
	color: var(--ink);
}
.wizard-step button.cta {
	appearance: none;
	font: inherit;
	font-family: "Space Grotesk";
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	cursor: pointer;
	border: 1px solid var(--ink);
	padding: 10px 20px;
	transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.wizard-step button.cta::after {
	display: none;
}
.wizard-step .wizard-next,
.wizard-step .wizard-submit {
	background: var(--ink);
	color: var(--white);
}
.wizard-step .wizard-next:hover,
.wizard-step .wizard-submit:hover {
	background: #222;
}
.wizard-step .wizard-next:disabled,
.wizard-step .wizard-submit:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}
.wizard-step .wizard-back {
	background: var(--white);
	color: var(--ink);
}
.wizard-step .wizard-back:hover {
	background: var(--concrete);
}

.wizard-done {
	text-align: center;
}
.wizard-done h2 {
	font-family: "Anton", sans-serif;
	font-size: clamp(28px, 5vw, 44px);
	margin-bottom: 12px;
}
.wizard-done p {
	font-size: 15px;
	color: #555;
	margin-bottom: 28px;
}

.wizard-msg {
	text-align: center;
	margin-top: 20px;
}

.wizard-noscript {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--concrete);
	padding: 32px;
	text-align: center;
	font-size: 15px;
}

@media (max-width: 640px) {
	.wizard {
		padding: 120px 20px 60px;
	}
	.wizard-hint {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wizard-step.active {
		animation: none;
	}
}
