:root {
	--background: #F5F5F5;
	--black: #020202;
	--neutral-50: #FFFFFF;
	--neutral-200: #e9e9eb;
	--neutral-700: #51515A;
	--neutral-800: #37373D;
}

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

*, *:before, *:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

body {
	background-color: var(--background);
	font-family: "Inter", sans-serif;
	padding: 1rem;
	margin: 0;
	text-rendering: geometricPrecision;
}

@keyframes enter {
	from {
		opacity: 0;
		transform: translateY(1rem);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

::selection {
	background-color: rgba(233,233,235,0.3);
}

a {
	color: inherit;
	text-decoration: none;
}

h1, p {
	margin: 0;
}

.container {
	background-color: var(--black);
	color: var(--neutral-50);
	padding: 1rem;
	border-radius: 0.5rem;
	min-height: calc(100dvh - 2rem);

	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	position: relative;
	z-index: 1;

	@media screen and (min-width: 768px) {
		padding: 2.5rem 3rem;
	}
}

nav {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	animation: enter 0.5s ease-in-out;

	@media screen and (max-width: 767px) {
		margin-bottom: 2.5rem;
	}

	img {
		display: block;
	}
}

video {
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
	object-fit: cover;
	z-index: -1;
}

header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1.5rem;
	font-size: 1.25rem;
	max-width: 19.375rem;
	animation: enter 0.6s ease-in-out;

	@media screen and (min-width: 768px) {
		max-width: 42rem;
	}

	h1 {
		font-size: 2rem;
		line-height: 1;

		@media screen and (min-width: 768px) {
			font-size: 3.5rem;
		}
	}

	p {
		max-width: 17.5rem;
		line-height: 1.25;
		letter-spacing: -0.02em;
		font-size: .875rem;

		@media screen and (min-width: 768px) {
			font-size: 1rem;
			max-width: 32rem;
		}

		@media screen and (max-width: 768px) {
			&:last-child {
				max-width: 13rem;
			}
		}
	}
}

form {
	width: 100%;
	max-width: 33.875rem;
	padding-block: 1.125rem;
	position: relative;
	animation: enter 0.7s ease-in-out;

	@media screen and (min-width: 768px) {
		padding-block: 2rem;
	}

	&.end {
		max-width: 40rem;
		text-align: center;
		letter-spacing: -0.02em;
		padding-block: 3.25rem;
	}

	.step {
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: stretch;
		flex-direction: column;
		gap: 1rem;
		transition: all 0.3s ease-in-out;

		@media screen and (min-width: 768px) {
			flex-direction: row;
		}

		&:not(.active) {
			display: none;
		}

		input {
			flex: 1;
		}
	}

	.top {
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-size: .9375rem;
		line-height: 1.25;
		color: var(--neutral-200);
		letter-spacing: -0.02em;
		margin-bottom: 0.5rem;
		transition: all 0.3s ease-in-out;

		&.disabled {
			opacity: 0;
			pointer-events: none;
		}
	}
}

input {
	background-color: var(--neutral-50);
	border: 1px solid var(--neutral-200);
	font-family: "Inter", sans-serif;
	line-height: 1.5;
	padding: 1rem;
	border-radius: 0.25rem;
	font-size: 0.75rem;
	font-weight: 700;
	transition: 0.2s ease-in-out;

	&:focus {
		outline: none;
	}
}

.button,
button {
	background: var(--neutral-700);
	color: var(--neutral-50);
	border: 1px solid var(--neutral-800);
	cursor: pointer;
	padding: 1rem 1.5rem;
	border-radius: 0.25rem;
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 700;
	font-family: "Inter", sans-serif;
	transition: 0.2s ease-in-out;
}

.button:hover,
button:hover {
	background: var(--neutral-800);
}

.ipad {
	flex: 1;
	width: 100%;
	max-width: 60%;
	height: auto;
	flex: 1;
	position: relative;
	animation: enter 0.9s ease-in-out;

	img {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: auto;
	}

	@media screen and (max-width: 1000px) {
		display: none;
	}
}

footer {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding-bottom: .25rem;
	gap: 0.5rem;
	margin-top: auto;
	animation: enter 0.8s ease-in-out;
	position: relative;
	z-index: 2;

	@media screen and (min-width: 768px) {
		flex-direction: row;
		align-items: flex-end;
		padding-bottom: 0;
	}

	.social {
		display: flex;
		align-items: center;
		gap: .625rem;
		flex: 1;

		img {
			display: block;
			width: 1.5rem;
			height: 1.5rem;
		}
	}

	@media screen and (min-width: 768px) {
		p {
			max-width: 20%;
			flex: 1;
			text-align: right;
		}
	}
}

[data-lastpass-icon-root] {
   display: none !important;
}
