/* =========================================================
   LAYOUT
   ========================================================= */

/* ---------------------------------------------------------
   MAIN
   --------------------------------------------------------- */

main {
	width: 100%;
	overflow: clip;
}

/* ---------------------------------------------------------
   SECTION
   --------------------------------------------------------- */

.section {
	position: relative;
	width: 100%;
	padding: 0 24px;
}

/* ---------------------------------------------------------
   SECTION HEADING
   --------------------------------------------------------- */

.section-heading {
	display: flex;
	flex-direction: column;
	align-items: center;

	max-width: 760px;

	margin-right: auto;
	margin-left: auto;

	text-align: center;
}

.section-heading__description {
	max-width: 600px;

	margin-top: 20px;

	color: var(--color-text-light);

	font-size: 15px;
	line-height: 1.75;
}

/* ---------------------------------------------------------
   EYEBROW
   --------------------------------------------------------- */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;

	color: var(--color-primary);

	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.eyebrow::before {
	content: '';

	display: block;

	width: 24px;
	height: 1px;

	background: var(--color-primary);
}

/* ---------------------------------------------------------
   SECTION TITLES
   --------------------------------------------------------- */

.section-heading h2 {
	max-width: 760px;

	margin-top: 16px;

	color: var(--color-text);

	font-family: var(--font-display);
	font-size: 58px;
	font-weight: 400;
	line-height: 0.98;
	letter-spacing: -0.025em;
}

/* ---------------------------------------------------------
   DARK SECTIONS
   --------------------------------------------------------- */

.section--dark {
	background: var(--color-surface-dark);
	color: var(--color-white);
}

.section--dark .section-heading h2 {
	color: var(--color-white);
}

.section--dark .section-heading__description {
	color: rgba(255, 255, 255, 0.68);
}

/* ---------------------------------------------------------
   DIVIDERS
   --------------------------------------------------------- */

.section-divider {
	width: 100%;
	height: 1px;

	background: var(--color-border);
}

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 900px) {
	.section-heading {
		max-width: 680px;
	}

	.section-heading h2 {
		font-size: 48px;
	}

	.section-heading__description {
		font-size: 14px;
	}
}

@media (max-width: 600px) {
	.section-heading {
		align-items: flex-start;

		max-width: none;

		text-align: left;
	}

	.section-heading h2 {
		max-width: 100%;

		margin-top: 14px;

		font-size: 40px;
		line-height: 1;
	}

	.section-heading__description {
		max-width: 100%;

		margin-top: 16px;

		font-size: 13px;
		line-height: 1.7;
	}

	.eyebrow {
		font-size: 10px;
		letter-spacing: 0.1em;
	}

	.eyebrow::before {
		width: 18px;
	}
}
