* {
  margin: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;

  width: 100dvw;
  height: 100dvh;
  padding: 24px;

  font-family: 'Inter', serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;

  color: #fff;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;

    background: rgba(0, 0, 0, 0.32);
  }
}

.header {
  position: absolute;
  inset: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;
}

.main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;

  height: 100%;
}

.title {
  font-size: 40px;
  font-weight: 400;
}

.text {
  max-width: 600px;

  font-size: 16px;
  text-align: center;
}

.text > a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.socials {
  display: flex;
  align-items: center;
  gap: 8px;

  margin-top: 40px;
}

.button,
.button-pdf {
	border: 0;
	border-radius: 8px;

  text-decoration: none;
  background: #fff;
  color: #2d2c2f;
}

.button {
  padding: 15px;

  font: inherit;
  line-height: 0.7;
}

.button._mobile {
  display: none;
}

.button-pdf {
	padding: 16px 32px;

	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
}

video {
  position: absolute;
  inset: 0;
  z-index: -2;

  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  body {
    padding: 12px 12px 40px;
  }

  .header {
    padding: 16px;
  }

  .main {
    justify-content: end;
    gap: 16px;
  }

  .logo > svg {
    width: 140px;
    height: 18px;
  }

  .title {
    font-size: 24px;
  }

  .text {
    font-size: 14px;
  }

  .phone {
    display: none;
  }

  .socials {
    margin-top: 16px;
  }

  .button {
    padding: 10.5px;
  }

  .button._mobile {
    display: unset;
  }

  .button > svg {
    width: 20px;
    height: 20px;
  }

  .button-pdf {
    padding: 12px 24px;
    font-size: 12px;
  }

  video {
    object-position: 75%;
  }
}
