.wqc-calculator {
	--wqc-accent: #2563eb;
	--wqc-text: #111827;
	--wqc-muted: #667085;
	--wqc-line: #e5e7eb;
	--wqc-surface: #ffffff;
	--wqc-soft: #f8fafc;
	color: var(--wqc-text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	width: 100%;
}

.wqc-calculator * {
	box-sizing: border-box;
}

.wqc-shell {
	background: var(--wqc-surface);
	border: 1px solid var(--wqc-line);
	border-radius: 8px;
	box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
	margin: 0 auto;
	max-width: 860px;
	overflow: hidden;
}

.wqc-topbar {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 24px 22px 18px;
}

.wqc-topbar h2,
.wqc-question h3,
.wqc-result h3,
.wqc-lead-form h3 {
	color: var(--wqc-text);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 750;
	letter-spacing: 0;
	line-height: 1.15;
	margin: 0;
}

.wqc-question h3,
.wqc-result h3,
.wqc-lead-form h3 {
	font-size: clamp(22px, 2.4vw, 30px);
}

.wqc-eyebrow {
	color: var(--wqc-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.wqc-step-count {
	background: var(--wqc-soft);
	border: 1px solid var(--wqc-line);
	border-radius: 999px;
	color: var(--wqc-muted);
	font-size: 13px;
	font-weight: 700;
	padding: 8px 12px;
	white-space: nowrap;
}

.wqc-progress {
	background: var(--wqc-line);
	height: 5px;
	width: 100%;
}

.wqc-progress span {
	background: var(--wqc-accent);
	display: block;
	height: 100%;
	transition: width 180ms ease;
	width: 0;
}

.wqc-panel {
	padding: 22px;
}

.wqc-options {
	display: grid;
	gap: 12px;
	margin-top: 22px;
}

.wqc-option,
.wqc-choice {
	background: var(--wqc-surface);
	border: 1px solid var(--wqc-line);
	border-radius: 8px;
	color: var(--wqc-text);
	cursor: pointer;
	display: block;
	min-height: 64px;
	padding: 16px;
	text-align: left;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
	width: 100%;
}

.wqc-option:hover,
.wqc-choice:hover,
.wqc-choice:has(input:checked) {
	border-color: var(--wqc-accent);
	box-shadow: 0 12px 24px rgba(37, 99, 235, 0.1);
	transform: translateY(-1px);
}

.wqc-option-title {
	display: block;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.25;
}

.wqc-option-text {
	color: var(--wqc-muted);
	display: block;
	font-size: 14px;
	line-height: 1.5;
	margin-top: 7px;
}

.wqc-choice {
	align-items: center;
	display: flex;
	gap: 12px;
	font-size: 15px;
	font-weight: 700;
}

.wqc-choice input {
	accent-color: var(--wqc-accent);
	flex: 0 0 auto;
	height: 18px;
	width: 18px;
}

.wqc-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 22px;
}

.wqc-actions-stack {
	align-items: stretch;
}

.wqc-button,
.wqc-link-button {
	align-items: center;
	border-radius: 8px;
	cursor: pointer;
	display: inline-flex;
	font-size: 15px;
	font-weight: 800;
	justify-content: center;
	letter-spacing: 0;
	line-height: 1.2;
	min-height: 48px;
	padding: 13px 18px;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
	width: 100%;
}

.wqc-button-primary {
	background: var(--wqc-accent);
	border: 1px solid var(--wqc-accent);
	color: #ffffff;
}

.wqc-button-primary:hover,
.wqc-button-primary:focus {
	color: #ffffff;
	filter: brightness(0.95);
}

.wqc-button-secondary {
	background: var(--wqc-surface);
	border: 1px solid var(--wqc-line);
	color: var(--wqc-text);
}

.wqc-button-secondary:hover,
.wqc-button-secondary:focus {
	border-color: var(--wqc-accent);
	color: var(--wqc-accent);
}

.wqc-button:disabled {
	cursor: not-allowed;
	opacity: 0.7;
}

.wqc-link-button {
	background: transparent;
	border: 0;
	color: var(--wqc-muted);
	min-height: 40px;
	padding: 8px;
}

.wqc-link-button:hover,
.wqc-link-button:focus {
	color: var(--wqc-text);
}

.wqc-result,
.wqc-lead-form {
	display: grid;
	gap: 18px;
}

.wqc-price {
	background: var(--wqc-soft);
	border: 1px solid var(--wqc-line);
	border-radius: 8px;
	color: var(--wqc-text);
	font-size: clamp(28px, 5vw, 42px);
	font-weight: 850;
	letter-spacing: 0;
	line-height: 1.1;
	padding: 18px;
}

.wqc-result-grid {
	display: grid;
	gap: 12px;
}

.wqc-result-grid div {
	background: var(--wqc-soft);
	border: 1px solid var(--wqc-line);
	border-radius: 8px;
	display: grid;
	gap: 6px;
	padding: 14px;
}

.wqc-result-grid span,
.wqc-result-section h4 {
	color: var(--wqc-muted);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0;
	margin: 0;
	text-transform: uppercase;
}

.wqc-result-grid strong {
	color: var(--wqc-text);
	font-size: 18px;
	line-height: 1.35;
}

.wqc-result-section {
	border-top: 1px solid var(--wqc-line);
	padding-top: 18px;
}

.wqc-answer-summary {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}

.wqc-answer-summary li {
	background: var(--wqc-soft);
	border: 1px solid var(--wqc-line);
	border-radius: 8px;
	display: grid;
	gap: 4px;
	padding: 12px;
}

.wqc-answer-summary span {
	color: var(--wqc-muted);
	font-size: 12px;
	font-weight: 750;
	line-height: 1.4;
}

.wqc-answer-summary strong {
	color: var(--wqc-text);
	font-size: 14px;
	line-height: 1.45;
}

.wqc-summary {
	color: var(--wqc-muted);
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
}

.wqc-services {
	border-top: 1px solid var(--wqc-line);
	padding-top: 18px;
}

.wqc-services h4 {
	color: var(--wqc-text);
	font-size: 15px;
	font-weight: 850;
	letter-spacing: 0;
	margin: 0 0 12px;
}

.wqc-services ul {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wqc-services li {
	color: var(--wqc-muted);
	font-size: 14px;
	line-height: 1.45;
	padding-left: 24px;
	position: relative;
}

.wqc-services li::before {
	color: var(--wqc-accent);
	content: "\2713";
	font-size: 14px;
	font-weight: 900;
	left: 4px;
	position: absolute;
	top: 0;
}

.wqc-lead-form label {
	color: var(--wqc-text);
	display: grid;
	font-size: 14px;
	font-weight: 800;
	gap: 8px;
}

.wqc-lead-form input {
	background: var(--wqc-surface);
	border: 1px solid var(--wqc-line);
	border-radius: 8px;
	color: var(--wqc-text);
	font: inherit;
	font-weight: 500;
	min-height: 48px;
	padding: 12px 14px;
	width: 100%;
}

.wqc-lead-form input:focus {
	border-color: var(--wqc-accent);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
	outline: 0;
}

.wqc-form-message {
	color: var(--wqc-muted);
	font-size: 14px;
	font-weight: 700;
	min-height: 20px;
}

.wqc-form-message.is-success {
	color: #047857;
}

.wqc-form-message.is-error {
	color: #b42318;
}

@media (min-width: 680px) {
	.wqc-topbar {
		align-items: center;
		flex-direction: row;
		justify-content: space-between;
		padding: 30px 34px 22px;
	}

	.wqc-panel {
		padding: 34px;
	}

	.wqc-options-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wqc-actions {
		align-items: center;
		flex-direction: row;
		justify-content: space-between;
	}

	.wqc-actions-stack {
		align-items: center;
		justify-content: flex-start;
	}

	.wqc-button,
	.wqc-link-button {
		width: auto;
	}

	.wqc-services ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wqc-result-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
