/* Quick Home Check - all rules are scoped under .hcq so they never leak into the theme. */
.hcq {
	--hcq-primary: #0F172A;
	--hcq-primary-hover: #1e293b;
	--hcq-ink: #0F172A;
	--hcq-ink-soft: #475569;
	--hcq-paper: #ffffff;
	--hcq-tint: #f1f5f9;
	--hcq-line: #e2e8f0;
	--hcq-error: #b3261e;
	--hcq-radius: 12px;

	box-sizing: border-box;
	max-width: 640px;
	margin: 0 auto;
	font-family: inherit;
	color: var(--hcq-ink);
}
.hcq *, .hcq *::before, .hcq *::after { box-sizing: inherit; }

.hcq .hcq-header { margin: 0 0 20px; text-align: center; }
.hcq .hcq-title { margin: 0 0 8px; font-size: 1.9rem; line-height: 1.2; font-weight: 800; color: var(--hcq-ink); }
.hcq .hcq-desc { margin: 0 auto; max-width: 52ch; font-size: 1.05rem; line-height: 1.55; color: var(--hcq-ink-soft); }

.hcq .hcq-card {
	background: var(--hcq-paper);
	border: 1px solid var(--hcq-line);
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
	overflow: hidden;
}

.hcq .hcq-progress { height: 6px; background: var(--hcq-tint); }
.hcq .hcq-progress span {
	display: block;
	height: 100%;
	background: var(--hcq-primary);
	transition: width 0.3s ease;
}

.hcq .hcq-step { padding: 28px 28px 32px; }

.hcq .hcq-count { margin: 0 0 6px; font-size: 0.875rem; color: var(--hcq-ink-soft); }
.hcq .hcq-q { margin: 0 0 20px; font-size: 1.4rem; line-height: 1.3; font-weight: 700; color: var(--hcq-ink); outline: none; }
.hcq .hcq-body { margin: 0 0 20px; font-size: 1.05rem; line-height: 1.55; color: var(--hcq-ink-soft); max-width: 52ch; }

.hcq .hcq-options { display: grid; gap: 10px; }
.hcq .hcq-option {
	display: block;
	width: 100%;
	padding: 14px 16px;
	font: inherit;
	font-size: 1.05rem;
	text-align: left;
	color: var(--hcq-ink);
	background: var(--hcq-paper);
	border: 2px solid var(--hcq-line);
	border-radius: var(--hcq-radius);
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
.hcq .hcq-option:hover { border-color: var(--hcq-primary); background: var(--hcq-tint); }
.hcq .hcq-option.is-selected { border-color: var(--hcq-primary); background: var(--hcq-primary); color: #ffffff; }

.hcq .hcq-primary {
	display: inline-block;
	width: 100%;
	padding: 15px 20px;
	font: inherit;
	font-size: 1.05rem;
	font-weight: 700;
	color: #ffffff;
	background: var(--hcq-primary);
	border: 0;
	border-radius: var(--hcq-radius);
	cursor: pointer;
	transition: background-color 0.15s ease;
}
.hcq .hcq-primary:hover:not(:disabled) { background: var(--hcq-primary-hover); }
.hcq .hcq-primary:disabled { opacity: 0.65; cursor: wait; }

.hcq .hcq-link {
	margin-top: 16px;
	padding: 4px 0;
	font: inherit;
	font-size: 0.95rem;
	color: var(--hcq-ink-soft);
	background: none;
	border: 0;
	text-decoration: underline;
	cursor: pointer;
}

/* Form */
.hcq .hcq-form { display: grid; gap: 16px; }
.hcq .hcq-field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.95rem; }
.hcq .hcq-input {
	width: 100%;
	padding: 13px 14px;
	font: inherit;
	font-size: 1rem;
	color: var(--hcq-ink);
	background: var(--hcq-paper);
	border: 2px solid var(--hcq-line);
	border-radius: var(--hcq-radius);
}
.hcq .hcq-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; line-height: 1.45; color: var(--hcq-ink-soft); }
.hcq .hcq-consent input { flex: none; margin-top: 3px; width: 18px; height: 18px; accent-color: var(--hcq-ink); }
.hcq .hcq-error { margin: 0; min-height: 1.2em; font-size: 0.95rem; font-weight: 600; color: var(--hcq-error); }
.hcq .hcq-fine { margin: 0; font-size: 0.875rem; text-align: center; color: var(--hcq-ink-soft); }
.hcq .hcq-end .hcq-fine { text-align: left; }

/* Honeypot, hidden from people and assistive tech */
.hcq .hcq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Keyboard focus */
.hcq .hcq-option:focus-visible,
.hcq .hcq-primary:focus-visible,
.hcq .hcq-link:focus-visible,
.hcq .hcq-input:focus-visible,
.hcq .hcq-consent input:focus-visible {
	outline: 3px solid var(--hcq-ink);
	outline-offset: 2px;
}
.hcq .hcq-input:focus { border-color: var(--hcq-ink); }

@media (max-width: 480px) {
	.hcq .hcq-step { padding: 22px 18px 26px; }
	.hcq .hcq-q { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
	.hcq .hcq-progress span, .hcq .hcq-option, .hcq .hcq-primary { transition: none; }
}
