header {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 32px;
	gap: 32px;
	box-sizing: border-box;
}

header .main {
	width: 50%;
	height: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	padding: 0 32px;
}

header .main .logo {
	width: 90px;
}

header .main img {
	width: 100%;
}

header .main .content {
	display: flex;
	flex-direction: column;
	gap: 32px;
	margin: auto 0;
}

header .main .content .description {
	font-size: 1.32rem;
	color: var(--mocha);
}

header .main svg {
	width: 32px;
}

header #hero-image {
	width: 50%;
	height: 100%;
	border-radius: 32px;
	overflow: hidden;
}

header #hero-image img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

header .intro-in {
	opacity: 0;
	transform: translateY(40px);
}

@media screen and (max-width: 900px) {
	header {
		height: auto;
		flex-direction: column;
		padding: 32px 24px;
		gap: 48px;
	}

	header .main {
		width: 100%;
		height: auto;
		padding: 0;
		gap: 64px;
	}

	header .main img {
		width: 100px;
	}

	header .main .content {
		margin: 0;
		gap: 32px;
	}

	header .main .content h1 {
		font-size: 2.2rem;
	}

	header .main .content .description {
		font-size: 1.05rem;
	}

	header .main svg {
		display: none;
	}

	header #hero-image {
		width: 100%;
		height: auto;
		aspect-ratio: 3 / 4;
	}
}

#community {
	width: 100%;
	box-sizing: border-box;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 64px;
	padding: 64px 32px;
}

#community .big-text {
	font-size: 4.4vw;
	font-weight: 400;
	color: var(--night);
	text-align: center;
}

#community .big-text .word {
	color: var(--stone);
	transition: color 0.4s ease-in-out;
}

#community .big-text .word.active {
	color: var(--apple);
}

#community .reveal-images {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	gap: 32px;
	padding: 0 32px;
	box-sizing: border-box;
	pointer-events: none;
}

#community .reveal-image {
	width: 36vw;
	aspect-ratio: 3 / 2;
	border-radius: 32px;
	overflow: hidden;
	opacity: 0;
	transition: opacity 0.5s ease-out, transform 1s ease-out;
}

#community .reveal-image#image-majitele {
	transform: translateY(24px) rotate(0deg);
}

#community .reveal-image#image-hlidaci {
	transform: translateY(24px) rotate(8deg);
}

#community .reveal-image#image-majitele.visible {
	opacity: 1;
	transform: translateY(0) rotate(-8deg);
}

#community .reveal-image#image-hlidaci.visible {
	opacity: 1;
	transform: translateY(0) rotate(12deg);
}

#community .reveal-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media screen and (max-width: 1200px) {
	#community .big-text {
		font-size: 4rem;
	}
}

@media screen and (max-width: 800px) {
	#community .big-text {
		font-size: 3.5rem;
	}

	#community .reveal-image {
		width: 50vw;
	}

	#community .reveal-images {
		padding: 0;
	}
}

@media screen and (max-width: 660px) {
	#community .big-text {
		font-size: 8vw;
	}

	#community .reveal-image {
		width: 70vw;
	}
}

#how-it-works {
	padding: 0;
	height: 300vh;
	width: 100%;
	position: relative;
}

#how-it-works .steps-frame {
	position: sticky;
	top: 0;
	height: 100vh;
	overflow: hidden;
	min-height: 600px;
}

#how-it-works .step {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 96px;
	overflow: hidden;
}

#how-it-works .step#step-1,
#how-it-works .step#step-3 {
	background-color: var(--linen);
}

#how-it-works .step#step-2 {
	background-color: var(--seasalt);
}

#how-it-works .step#step-1 { z-index: 1; }
#how-it-works .step#step-2 { z-index: 2; }
#how-it-works .step#step-3 { z-index: 3; }

#how-it-works .step#step-2,
#how-it-works .step#step-3 {
	box-shadow: 0 -32px 48px -24px rgba(26, 23, 19, 0.18);
}

#how-it-works .step-content {
	display: flex;
	flex-direction: column;
	gap: 32px;
	max-width: 540px;
	z-index: 1;
}

#how-it-works .step-content h3 {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--night);
}

#how-it-works .step-content p {
	font-size: 1.2rem;
	color: var(--mocha);
	max-width: 500px;
}

#how-it-works .step-phone {
	position: absolute;
	bottom: 0;
	right: 0;
	height: 100%;
	width: 100%;
	z-index: 0;
	display: flex;
	justify-content: end;
}

#how-it-works .step-phone img {
	display: block;
	height: 100%;
	object-fit: contain;
}

@media screen and (max-width: 900px) {
	#how-it-works {
		height: auto;
	}

	#how-it-works .steps-frame {
		position: static;
		height: auto;
		min-height: 0;
	}

	#how-it-works .step {
		position: static;
		inset: unset;
		width: 100%;
		height: auto;
		flex-direction: column;
		padding: 64px 32px;
		gap: 48px;
		box-shadow: none;
	}

	#how-it-works .step-content {
		max-width: 100%;
		align-items: center;
		text-align: center;
		gap: 20px;
	}

	#how-it-works .step-content h3 {
		font-size: 1.8rem;
	}

	#how-it-works .step-content p {
		font-size: 1.05rem;
		max-width: 100%;
	}

	#how-it-works .step-phone {
		position: static;
		width: 70%;
		height: auto;
		justify-content: center;
	}

	#how-it-works .step-phone img {
		width: 100%;
		height: auto;
	}
}

#trust-safety {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
	padding: 96px 32px;
	text-align: center;
}

#trust-safety .heading {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 640px;
}

#trust-safety .heading h2 {
	font-size: 2.75rem;
	font-weight: 600;
	line-height: 1.15;
	color: var(--night);
}

#trust-safety .heading h2 .hilight {
	color: var(--apple);
}

#trust-safety .heading p {
	font-size: 1.15rem;
	color: var(--mocha);
}

#trust-safety .grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-template-rows: repeat(2, minmax(220px, 1fr));
	gap: 16px;
	width: 100%;
	max-width: 1400px;
}

#trust-safety .card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 16px;
	padding: 32px;
	background-color: var(--linen);
	border-radius: 32px;
	text-align: left;
	box-sizing: border-box;
	overflow: hidden;
}

#trust-safety .card .icon {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: auto;
	transform: translateX(40%);
	color: var(--night);
	opacity: 0.04;
	pointer-events: none;
}

#trust-safety .card-text {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

#trust-safety .card h3 {
	font-size: 1.3rem;
	font-weight: 600;
}

#trust-safety .card p {
	font-size: 1rem;
	color: var(--mocha);
}

#trust-safety .card:nth-child(1) {
	grid-column: 1 / 3;
	grid-row: 1 / 3;
}

#trust-safety .card:nth-child(1) h3 {
	font-size: 1.75rem;
}

#trust-safety .card:nth-child(1) p {
	font-size: 1.1rem;
	max-width: 380px;
}

#trust-safety .card:nth-child(2) {
	grid-column: 3 / 6;
	grid-row: 1 / 2;
}

#trust-safety .card:nth-child(3) {
	grid-column: 3 / 5;
	grid-row: 2 / 3;
}

#trust-safety .card:nth-child(4) {
	grid-column: 5 / 6;
	grid-row: 2 / 3;
}

@media screen and (max-width: 1100px) {
	#trust-safety .grid {
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: repeat(3, minmax(220px, 1fr));
	}

	#trust-safety .card:nth-child(1) {
		grid-column: 1 / 4;
		grid-row: 1 / 2;
	}

	#trust-safety .card:nth-child(1) h3 {
		font-size: 1.3rem;
	}

	#trust-safety .card:nth-child(1) p {
		font-size: 1rem;
		max-width: unset;
	}

	#trust-safety .card:nth-child(2) {
		grid-column: 1 / 3;
		grid-row: 2 / 3;
	}

	#trust-safety .card:nth-child(3) {
		grid-column: 3 / 5;
		grid-row: 2 / 3;
	}

	#trust-safety .card:nth-child(4) {
		grid-column: 4 / 5;
		grid-row: 1 / 2;
	}
}

@media screen and (max-width: 900px) {
	#trust-safety .grid {
		grid-template-columns: 1fr;
		grid-template-rows: none;
	}

	#trust-safety .card,
	#trust-safety .card:nth-child(1),
	#trust-safety .card:nth-child(2),
	#trust-safety .card:nth-child(3),
	#trust-safety .card:nth-child(4) {
		grid-column: 1 / 2;
		grid-row: auto;
	}
}

@media screen and (max-width: 600px) {
	#trust-safety {
		padding: 64px 24px;
	}
}

#become-sitter {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	padding: 64px;
	gap: 64px;
	min-height: 80vh;
	max-width: 1400px;
}

#become-sitter .content {
	width: 45%;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

#become-sitter .content h2 {
	font-size: 3rem;
	font-weight: 600;
	line-height: 1.1;
	color: var(--night);
}

#become-sitter .content h2 .hilight {
	color: var(--apple);
}

#become-sitter .content p {
	font-size: 1.32rem;
	color: var(--mocha);
}

#become-sitter .visual {
	width: 45%;
	position: relative;
	aspect-ratio: 5 / 2;
}

#become-sitter .visual .photo-fan {
	position: relative;
	width: 100%;
	height: 100%;
}

#become-sitter .visual .photo-fan .fan-photo {
	position: absolute;
	top: 80%;
	width: 38%;
	aspect-ratio: 3 / 5;
	object-fit: cover;
	border-radius: 32px;
	box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.35);
	transition: box-shadow 0.4s ease;
	transform-origin: bottom center;
	will-change: transform;
}

#become-sitter .visual .photo-fan .fan-photo:nth-child(1) {
	left: 2%;
	margin-top: -46%;
	transform: rotate(-24deg);
	z-index: 1;
}

#become-sitter .visual .photo-fan .fan-photo:nth-child(2) {
	left: 22%;
	margin-top: -49%;
	transform: rotate(-12deg);
	z-index: 2;
}

#become-sitter .visual .photo-fan .fan-photo:nth-child(3) {
	left: 50%;
	margin-left: -19%;
	margin-top: -50%;
	transform: rotate(0deg);
	z-index: 5;
}

#become-sitter .visual .photo-fan .fan-photo:nth-child(4) {
	right: 22%;
	margin-top: -49%;
	transform: rotate(12deg);
	z-index: 2;
}

#become-sitter .visual .photo-fan .fan-photo:nth-child(5) {
	right: 2%;
	margin-top: -46%;
	transform: rotate(24deg);
	z-index: 1;
}

#become-sitter .visual .photo-fan .fan-photo:hover {
	box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.45);
}

@media screen and (max-width: 900px) {
	#become-sitter {
		flex-direction: column;
		padding: 64px 32px;
		gap: 96px;
		min-height: 0;
	}

	#become-sitter .content {
		width: 100%;
	}

	#become-sitter .content h2 {
		font-size: 2.2rem;
	}

	#become-sitter .content p {
		font-size: 1.1rem;
	}

	#become-sitter .visual {
		width: 100%;
	}

	#become-sitter .visual .photo-fan .fan-photo {
		width: 30%;
	}

	#become-sitter .visual .photo-fan .fan-photo:nth-child(1) {
		left: 6%;
		transform: rotate(-16deg);
	}

	#become-sitter .visual .photo-fan .fan-photo:nth-child(2) {
		left: 25%;
		transform: rotate(-8deg);
	}

	#become-sitter .visual .photo-fan .fan-photo:nth-child(4) {
		right: 25%;
		transform: rotate(8deg);
	}

	#become-sitter .visual .photo-fan .fan-photo:nth-child(5) {
		right: 6%;
		transform: rotate(16deg);
	}
}

