/**
 * Checklist landing pages. Typography matches product and ebook pages.
 */

body.single-checklists,
body.single-checklists .cl-page {
	--cl-font-display: "Poppins", sans-serif;
	--cl-font-body: "Plus Jakarta Sans", sans-serif;
	--cl-text: #111111;
	--cl-heading: #111111;
	--cl-fs-hero: clamp(1.7rem, 3.1vw, 2.45rem);
	--cl-fs-h2: clamp(1.4rem, 2.3vw, 1.9rem);
	--cl-fs-h3: 1.05rem;
	--cl-fs-lead: 0.98rem;
	--cl-fs-body: 0.94rem;
	--cl-lh-tight: 1.2;
	--cl-lh-snug: 1.35;
	--cl-lh-body: 1.55;
	font-family: var(--cl-font-body);
	font-size: var(--cl-fs-body);
	line-height: var(--cl-lh-body);
	color: var(--cl-text);
	-webkit-font-smoothing: antialiased;
}

body.single-checklists .cl-page h1,
body.single-checklists .cl-page h2,
body.single-checklists .cl-page h3 {
	font-family: var(--cl-font-display);
	color: var(--cl-heading);
	letter-spacing: -0.02em;
}

body.single-checklists .cl-page h1 {
	font-size: var(--cl-fs-hero);
	line-height: var(--cl-lh-tight);
	font-weight: 700;
	margin: 0 0 0.85rem;
}

body.single-checklists .cl-page h2 {
	font-size: var(--cl-fs-h2);
	line-height: var(--cl-lh-tight);
	font-weight: 600;
	margin: 0 0 0.65rem;
}

body.single-checklists .cl-page h3 {
	font-size: var(--cl-fs-h3);
	line-height: var(--cl-lh-snug);
	font-weight: 600;
	margin: 0 0 0.4rem;
}

.cl-section {
	padding: 2.5rem 0;
	background: #fff;
}

.cl-section--soft { background: #eef5ff; }
.cl-section--mist { background: #f7f8fa; }

.cl-header {
	max-width: 46rem;
	margin: 0 auto 1.75rem;
	text-align: center;
}

.cl-header p,
.cl-hero__lead,
.cl-hero__micro {
	font-size: var(--cl-fs-lead);
	line-height: var(--cl-lh-body);
	color: var(--cl-text);
	margin: 0;
}

.cl-header--left { text-align: left; margin-left: 0; }

.cl-hero {
	padding: 7.5rem 0 2.5rem;
	background: linear-gradient(160deg, #fffbe8 0%, #fff 70%);
}

.cl-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.8fr);
	gap: 2rem;
	align-items: center;
}

.cl-hero__lead { max-width: 38rem; margin-bottom: 1.25rem; }
.cl-hero__micro { margin-top: 0.85rem; font-size: 0.86rem; }

.cl-hero__visual img,
.cl-cover {
	width: 100%;
	border-radius: 16px;
	display: block;
}

.cl-cover {
	min-height: 280px;
	background: #062592;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	font-family: var(--cl-font-display);
}

.cl-cover i { font-size: 2.4rem; color: #fad045; }

.cl-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cl-actions--center { justify-content: center; margin-top: 1.25rem; }

.cl-btn {
	background: #fad045 !important;
	color: #111 !important;
	border: 0 !important;
	border-radius: 6px !important;
	font-family: var(--cl-font-display) !important;
	font-weight: 600 !important;
	padding: 0.75rem 1.25rem !important;
}

.cl-cards {
	display: grid;
	gap: 1rem;
}

.cl-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cl-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.cl-card {
	background: #fff;
	border: 1px solid #e8ecf2;
	border-radius: 16px;
	padding: 1.2rem 1.15rem;
	box-shadow: 0 8px 22px rgba(20, 34, 56, 0.04);
	height: 100%;
}

.cl-section--soft .cl-card { background: #fff; }

.cl-card__icon {
	display: inline-flex;
	width: 2.4rem;
	height: 2.4rem;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: #eef5ff;
	color: #0d47a1;
	margin-bottom: 0.75rem;
}

.cl-card p,
.cl-step p {
	margin: 0;
	color: var(--cl-text);
}

.cl-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.cl-step {
	display: flex;
	gap: 0.9rem;
	background: #fff;
	border: 1px solid #dbe7fb;
	border-radius: 16px;
	padding: 1.1rem 1.15rem;
}

.cl-step__num {
	flex: 0 0 auto;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 999px;
	background: #062592;
	color: #fff;
	font-family: var(--cl-font-display);
	font-size: 0.75rem;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.cl-final {
	background: #fffbea;
}

#downloadChecklistModal.modal,
#downloadChecklistModal.modal.fade,
#downloadChecklistModal.modal.show {
	z-index: 1320 !important;
}

#downloadChecklistModal .modal-dialog {
	z-index: 1321;
}

body.single-checklists .modal-backdrop.show {
	z-index: 1310 !important;
}

#downloadChecklistModal .modal-dialog {
	max-width: 420px;
}

#downloadChecklistModal .modal-body {
	padding: 1.5rem;
}

#downloadChecklistModal .hubspot-datasheet-form form,
#downloadChecklistModal .hubspot-datasheet-form fieldset {
	max-width: none !important;
	width: 100% !important;
	border: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

#downloadChecklistModal .hubspot-datasheet-form .hs-form-field {
	margin-bottom: 15px !important;
}

#downloadChecklistModal .hubspot-datasheet-form .hs-form-field > label {
	display: none !important;
}

#downloadChecklistModal .hubspot-datasheet-form .hs-fieldtype-select > label {
	display: block !important;
	font-weight: 500 !important;
	color: #333 !important;
	margin-bottom: 5px !important;
	font-size: 14px !important;
}

#downloadChecklistModal .hubspot-datasheet-form .form-columns-2 {
	display: flex !important;
	gap: 10px;
}

#downloadChecklistModal .hubspot-datasheet-form .hs-form-field.hs-firstname,
#downloadChecklistModal .hubspot-datasheet-form .hs-form-field.hs-lastname {
	display: block !important;
	width: calc(50% - 5px) !important;
	float: none !important;
	vertical-align: top !important;
	margin-right: 0 !important;
}

#downloadChecklistModal .hubspot-datasheet-form .hs-input,
#downloadChecklistModal .hubspot-datasheet-form select,
#downloadChecklistModal .hubspot-datasheet-form textarea {
	width: 100% !important;
	background: #fff !important;
	border: 1px solid #ccc !important;
	border-radius: 6px !important;
	padding: 8px 10px !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	box-sizing: border-box !important;
	font-family: inherit !important;
	height: auto !important;
	color: #111 !important;
}

#downloadChecklistModal .hubspot-datasheet-form .hs-fieldtype-intl-phone.hs-input {
	display: flex !important;
	align-items: center;
	gap: 8px;
	border: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

#downloadChecklistModal .hubspot-datasheet-form .hs-fieldtype-intl-phone select {
	width: 46% !important;
	flex: 0 0 46%;
}

#downloadChecklistModal .hubspot-datasheet-form .hs-fieldtype-intl-phone input.hs-input {
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
}

#downloadChecklistModal .hubspot-datasheet-form .hs-button,
#downloadChecklistModal .hubspot-datasheet-form input[type="submit"] {
	width: 100% !important;
	background: #ffd400 !important;
	background-color: #ffd400 !important;
	color: #111 !important;
	border: none !important;
	border-radius: 6px !important;
	padding: 12px 15px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	margin-top: 10px !important;
	height: auto !important;
	line-height: 1.2 !important;
}

#downloadChecklistModal .hubspot-datasheet-form .hs-button:hover,
#downloadChecklistModal .hubspot-datasheet-form input[type="submit"]:hover {
	background: #f0c400 !important;
	background-color: #f0c400 !important;
	color: #111 !important;
}

#downloadChecklistModal .hubspot-datasheet-form .hs-error-msgs {
	color: #dc3545 !important;
	font-size: 12px !important;
	margin: 4px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

@media (max-width: 768px) {
	#downloadChecklistModal .hubspot-datasheet-form .form-columns-2 {
		display: block !important;
	}

	#downloadChecklistModal .hubspot-datasheet-form .hs-form-field.hs-firstname,
	#downloadChecklistModal .hubspot-datasheet-form .hs-form-field.hs-lastname {
		width: 100% !important;
	}
}

body.single-checklists .emitrr-page-faq {
	padding: 2.5rem 0;
}

@media (max-width: 991px) {
	.cl-hero__grid,
	.cl-cards--4,
	.cl-cards--3,
	.cl-steps {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 700px) {
	.cl-hero__grid,
	.cl-cards--4,
	.cl-cards--3,
	.cl-steps {
		grid-template-columns: 1fr;
	}
}
