/* Only the checklist page loads this file. */

/* ==========================================================================
   The email form in the top band
   ========================================================================== */

.hzs-ck {
	max-width: 36rem;
	margin-top: 1.75rem;
}

.hzs-ck__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.75rem;
}

body.hzs .hzs-ck__row .hzs-field {
	flex: 1 1 16rem;
	margin: 0;
}

/* The label sits above the field, so the button starts at the field's top. */
.hzs-ck__row .hzs-btn {
	min-height: var(--tap-min);
	margin-top: 1.85rem;
}

.hzs-ck__trap {
	position: absolute;
	left: -625rem;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

body.hzs .hzs-ck__error,
body.hzs .hzs-ck__alert,
body.hzs .hzs-ck__note,
body.hzs .hzs-ck--done p {
	margin: 0;
	font-size: var(--fs-small);
}

body.hzs .hzs-ck__error {
	padding-top: 0.5rem;
	font-weight: 600;
	color: var(--accent-gold);
}

body.hzs .hzs-ck__note {
	margin-top: 0.75rem;
	color: var(--text-muted);
}

body.hzs .hzs-ck__note a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

body.hzs .hzs-ck__alert {
	margin-bottom: 1rem;
	padding: 0.75rem 1rem;
	border-left: 3px solid var(--accent-gold);
	font-weight: 600;
	color: var(--text-strong);
}

body.hzs .hzs-ck--done {
	padding: 1rem 1.25rem;
	border-left: 3px solid var(--accent-grow);
}

body.hzs .hzs-ck--done p {
	font-size: 1.0625rem;
	color: var(--text-strong);
}

body.hzs .hzs-ck__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1.75rem;
	margin-top: 0.5rem;
}

/* Wide screens: the form stands at the right of the headline and ends on the lead's last line. */
@media (min-width: 1024px) {
	body.hzs .hzs-band__grid--solo .hzs-ck-wrap {
		grid-area: 1 / 2 / span 2;
		width: 34rem;
		margin: 0 0 0 3rem;
	}

	body.hzs .hzs-band__grid--solo .hzs-ck {
		margin-top: 0;
	}
}

@media (max-width: 599px) {
	.hzs-ck__row .hzs-btn {
		width: 100%;
		margin-top: 0;
	}
}

/* ==========================================================================
   The twelve checks: three parts, numbered 01 to 12 across them
   ========================================================================== */

.hzs-checklist {
	max-width: var(--measure);
	counter-reset: hzs-check;
}

@media (min-width: 1024px) {
	body.hzs .hzs-checklist {
		max-width: none;
	}

	body.hzs .hzs-checklist .et_pb_text_inner {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0 3rem;
	}
}

@media (max-width: 1023px) {
	body.hzs .hzs-checklist__part + .hzs-checklist__part {
		margin-top: 2.5rem;
	}
}

body.hzs .hzs-checklist .hzs-checklist__name {
	margin: 0 0 0.75rem;
	padding: 0;
	font-family: var(--font-heading);
	font-size: 1.375rem;
	line-height: 1.25;
	color: var(--text-strong);
}

.hzs-checklist__tag {
	display: block;
	margin-bottom: 0.35rem;
	font-family: var(--font-mono);
	font-size: var(--fs-note);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent-grow);
}

body.hzs .hzs-checklist ol {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

body.hzs .hzs-checklist li {
	position: relative;
	margin: 0;
	padding: 1.125rem 0 1.125rem 3.75rem;
	border-bottom: 1px solid var(--line-soft);
	counter-increment: hzs-check;
}

/* The site's step mark: a short gold rule, then the number in gold. */
.hzs-checklist li::before {
	content: counter(hzs-check, decimal-leading-zero);
	position: absolute;
	top: 1.3rem;
	left: 0;
	padding-left: 1.375rem;
	background: linear-gradient(currentColor, currentColor) left center / 0.875rem 2px no-repeat;
	font-family: var(--font-mono);
	font-size: var(--fs-note);
	font-weight: 600;
	letter-spacing: 0.12em;
	color: var(--accent-gold);
}

.hzs-checklist li strong {
	display: block;
	font-family: var(--font-heading);
	font-size: 1.125rem;
	color: var(--text-strong);
}
