.social-page {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.topbar {
  z-index: 20;
  backdrop-filter: blur(20px);
  background-color: rgba(242, 242, 246, 0.7);
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 55px;
  min-height: 55px;
  margin-top: 20px;
  margin-bottom: 40px;
  display: flex;
  position: sticky;
  top: 0;
}

.topbar__logo {
  display: inline-flex;
}

.topbar__logo img {
  width: 35px;
  height: 35px;
  border-radius: 10px;
}

.hero {
  width: min(700px, 90vw);
  min-width: 200px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title {
  margin: 0 0 24px;
  color: var(--text);
  text-align: center;
  font-size: 50px;
  font-weight: 500;
  line-height: 49px;
  letter-spacing: -0.04em;
}

.hero__card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__card img {
  display: block;
  width: 100%;
  border-radius: 17px;
  box-shadow: var(--card-shadow);
}

.hero__caption {
  width: 100%;
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: -0.01em;
}

.content {
  width: min(600px, 90vw);
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 50px;
}

.panel {
  background: var(--card);
  border-radius: 25px;
  padding: 25px;
  box-shadow: var(--card-shadow);
}

.panel--steps {
  padding-top: 22px;
}

.social-step,
.instruction {
  display: flex;
  gap: 10px;
}

.social-step {
  width: 100%;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 16px;
}

.social-step--last {
  margin-bottom: 0;
}

.social-step__image {
  display: block;
  width: 50%;
  height: 122px;
  object-fit: cover;
  object-position: 50% 50%;
  border: 6px solid #f3f2f8;
  border-radius: 17px;
  min-height: 150px;
}

.social-step__content {
  display: flex;
  gap: 10px;
  width: 50%;
  min-height: 122px;
  padding-top: 4px;
}

.social-step__image--step-1 {
  object-position: 50% 18%;
}

.social-step__image--step-2 {
  object-position: 50% 6%;
}

.social-step__image--step-3 {
  object-position: 50% 0%;
}

.social-step__image--step-4 {
  object-position: 50% 30%;
}

.step__badge {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #67ce67;
  color: #fff;
  font-size: 25px;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.social-step__body,
.instruction__body {
  padding-bottom: 10px;
}

.title,
.section-heading {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.copy {
  margin: 0;
  color: #333;
  font-size: 15px;
  line-height: 20px;
}

.panel--mute .instruction {
  margin-top: 10px;
}

.instruction--plain {
  margin-top: 0;
}

.download-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 370px;
  min-height: 45px;
  padding: 0 16px;
  border-radius: 15px;
  width: 100%;
  z-index: 7;
  color: #f5f5f7;
  background-color: #232323;
  margin: 0 auto 20px;
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.download-link:hover {
  background: #303030;
}

.download-link__icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background: center / contain no-repeat url("./icons/download-button.svg");
}

.download-link__icon--shortcut {
  background-image: url("./icons/shortcut-button.png");
}

.download-link__text {
  margin: 0;
  line-height: 1;
  font-size: 15px;
}

.panel--video {
  display: flex;
  flex-direction: column;
}

.title--video {
  margin-bottom: 14px;
}

.video {
  position: relative;
  width: 100%;
  padding-top: 56.17021276595745%;
  overflow: hidden;
  border-radius: 13px;
  background: #d9d9dd;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 13px;
}

.done {
  min-height: 120px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.done img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.done__title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
}

@media (max-width: 479px) {
  .topbar {
    margin-bottom: 28px;
  }

  .hero__title {
    font-size: 38px;
    line-height: 0.98;
  }

  .panel {
    padding: 18px 15px;
  }

  .social-step,
  .instruction {
    gap: 12px;
  }

  .social-step {
    flex-direction: column;
    margin-bottom: 22px;
  }

  .social-step__image,
  .social-step__content {
    width: 100%;
  }

  .social-step__image {
    height: 200px;
    border-width: 0;
    border-radius: 12px;
  }

  .social-step__content {
    min-height: 0;
  }
  .done__copy {
    font-size: 15px;
    max-width: 80%;
  }
}
