/* Purpose: home_questions – "Four questions" (Home 265fcfa): centred heading, two-column checklist, closing line and the
   white pointer triangle (polygon3.svg) hanging into the dark book section below. */

.home-questions {
	position: relative;
	padding-inline: var(--space-16);
}

.home-questions__inner {
	display: flex;
	flex-direction: column;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-top: var(--space-48);
}

.home-questions__main {
	display: flex;
	flex-direction: column;
	gap: var(--space-32);
	width: 100%;
}

.home-questions__heading {
	width: 100%;
	margin: 0;
	color: var(--color-secondary);
	font-family: var(--font-heading);
	font-size: var(--text-24);
	font-weight: var(--weight-bold);
	line-height: var(--leading-snug);
	text-align: center;
	text-wrap: balance;
}

.home-questions__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--space-24) 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.home-questions__item {
	display: flex;
	align-self: flex-start;
	align-items: flex-start;
	gap: var(--space-16);
	width: 100%;
}

/* 8px centres the tick on the first two lines, so ticks line up across a row when questions differ in length. */
.home-questions__icon {
	display: flex;
	flex: 0 0 auto;
	margin-top: var(--space-8);
	width: 24px;
	height: 24px;
}

.home-questions__svg {
	width: 100%;
	height: 100%;
}

.home-questions__text,
.home-questions__footnote {
	margin: 0;
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: var(--text-14);
	font-weight: var(--weight-regular);
	line-height: var(--leading-normal);
	text-wrap: pretty;
}

.home-questions__footnote {
	margin-top: var(--space-24);
	text-align: center;
}

.home-questions__spacer {
	position: relative;
	width: 100%;
	min-height: 48px;
}

.home-questions__pointer {
	position: absolute;
	bottom: -24px;
	left: 30%;
	z-index: 1;
	width: 43px;
	height: auto;
}

@media (min-width: 768px) {
	.home-questions {
		padding-inline: var(--space-20);
	}

	.home-questions__inner {
		padding-top: var(--space-60);
	}

	.home-questions__main {
		gap: var(--space-40);
	}

	.home-questions__heading {
		align-self: center;
		width: 72%;
		font-size: var(--text-32);
	}

	.home-questions__list {
		row-gap: var(--space-32);
	}

	.home-questions__item {
		width: 49%;
	}

	.home-questions__icon {
		width: 32px;
		height: 32px;
	}

	.home-questions__text,
	.home-questions__footnote {
		font-size: var(--text-18);
	}

	.home-questions__footnote {
		margin-top: var(--space-60);
	}

	.home-questions__spacer {
		min-height: 60px;
	}

	.home-questions__pointer {
		bottom: -40px;
		left: 140px;
		width: 72px;
	}
}

@media (min-width: 1025px) {
	.home-questions {
		padding-inline: var(--gutter);
	}

	.home-questions__inner {
		padding-top: var(--space-100);
	}

	.home-questions__main,
	.home-questions__spacer {
		align-self: center;
		width: 980px;
		max-width: 100%;
	}

	.home-questions__main {
		gap: var(--space-60);
	}

	.home-questions__heading {
		font-size: var(--text-40);
	}

	.home-questions__list {
		row-gap: var(--space-40);
	}

	.home-questions__icon {
		width: 40px;
		height: 40px;
	}

	.home-questions__text,
	.home-questions__footnote {
		font-size: var(--text-20);
	}

	.home-questions__footnote {
		margin-top: var(--space-80);
	}

	.home-questions__spacer {
		min-height: 80px;
	}
}
