/* HOME */
:root {
	--border-decor: 2px var(--dark) solid;
}

#home {
	max-width: 996px;
	width: 100%;
	margin: 0 auto;
	padding: 144px 0 0;

	position: relative;
}

#home > header {
	margin-bottom: 141px;

	position: relative;
}

#home > header > h1 {
	font-size: 84px;
	line-height: 120px;

	margin-bottom: 12px;
}

#home > header > p {
	font-size: 40px;
	line-height: 48px;

	color: var(--gray);
}

#home > header > .edge {
	width: 180px;
	height: 180px;

	border-top: var(--border-decor);
	border-right: var(--border-decor);

	position: absolute;
	top: 0;
	right: 0;
}

#home > #steps {
	font-weight: 600;

	margin-left: 483px;

	border-bottom: var(--border-decor);
}

#home > #steps > div {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

#home > #steps .shapes {
	padding-top: 3px;

	margin-left: -11px;
}

#home > #steps .shapes .circle {
	width: 24px;
	height: 24px;

	border-radius: 50%;
	border: var(--border-decor);
}

#home > #steps .shapes .line {
	width: 1px;
	height: 24px;

	margin: 12px 0 12px 11px;

	border-left: var(--border-decor);
}

#home > #steps .shapes .line.long {
	height: 142px;

	margin: 12px 0 0 11px;
}

#home > #action {
	text-align: right;

	padding: 0 72px;

	margin: 0 0 496px 472px;

	position: relative;
	top: -28px;
}

#home > #action > a {
	font-size: 16px;
	line-height: 24px;
	text-transform: uppercase;
	font-weight: 600;
	text-decoration: none;

	color: var(--bg-dark);
	background-color: var(--dark);

	padding: 14px 46px;

	border-radius: 32px;
	border: var(--border-decor);

	display: inline-block;
}

#home > #action > a:hover {
	color: var(--dark);
	background-color: var(--bg-dark);
}

#home > #info {
	color: var(--gray);
	background-color: var(--bg-dark);

	width: 774px;
	padding: 183px 72px 72px 372px;

	border-radius: 24px;

	display: flex;
	flex-direction: column;
	gap: 12px;

	position: absolute;
	top: 684px;
	right: 0;
	z-index: -2;
}

#home > #info > p {
	text-align: right;
}

#home > #info > p > a {
	color: var(--dark);
	text-decoration: none;
}

#home > #info > p > a:hover {
	text-decoration: underline;
}

aside {
	position: absolute;
	top: 420px;
	left: 0;
}

aside > img {
	width: 400px;
	height: 500px;

	border-radius: 24px;

	box-shadow: var(--shadow);
}

@media (max-width: 1140px) {
	#home {
		max-width: 688px;
		padding: 48px 0;
	}

	#home > header {
		width: 296px;

		padding-top: 32px;
		margin-left: 32px;
		margin-bottom: 32px;
	}

	#home > header > h1 {
		font-size: 24px;
		line-height: 32px;

		margin-bottom: 8px;
	}

	#home > header > p {
		font-size: 18px;
		line-height: 30px;

		padding-right: 32px;
	}

	#home > header > .edge {
		width: 100%;
		height: 130px;
	}

	#home > #steps {
		width: 296px;
		margin-left: 32px;

		border-bottom: none;
	}

	#home > #steps > div {
		display: block;

		margin-top: 16px;
	}

	#home > #steps .shapes {
		display: none;
	}

	#home > #action {
		width: 296px;
		text-align: center;

		padding: 0;
		margin: 28px 0 0 32px;

		position: static;
	}

	#home > #action > a {
		color: var(--bg-light);

		width: 100%;

		padding: 14px 0;

		border-radius: 0;
	}

	#home > #action > a:hover {
		background-color: var(--bg-light);
	}

	#home > #info {
		background-color: transparent;

		width: 100%;
		padding: 48px 32px;

		position: static;
	}

	#home > #info > p {
		text-align: left;
	}

	aside {
		position: absolute;
		top: 48px;
		left: auto;
		right: 32px;
	}

	aside > img {
		width: 296px;
		height: 370px;

		border-radius: 0;

		box-shadow: none;
	}
}

@media (max-width: 688px) {
	#home {
		padding: 48px 0 0;
	}

	#home > header {
		width: calc(100% - 64px);

		padding: 32px 0 0;
		margin: 0 32px 32px;
	}

	#home > header > .edge {
		width: 100%;
		height: 100%;
	}

	#home > #steps {
		width: calc(100% - 32px);
		margin-left: 32px;

		border-bottom: none;
	}

	#home > #steps > div {
		display: flex;
		flex-direction: column-reverse;
		gap: 0;

		margin-top: 0;
	}

	#home > #steps .shapes {
		display: block;

		padding-top: 0;

		margin-left: 0;
	}

	#home > #steps .shapes .circle {
		display: none;
	}

	#home > #steps .shapes .line {
		margin: 9px 0 9px 0;
	}

	#home > #steps .shapes .line.long {
		height: 48px;

		margin: 9px 0 0 0;
	}

	#home > #action {
		width: 100%;

		padding: 0 32px;
		margin: 0;
	}

	aside,
	aside > img {
		width: 100vw;
		height: 125vw;

		position: static;
	}
}
