.first-steps-page {
  padding: 18px 14px 54px;
  background:
    radial-gradient(circle at 85% 8%, rgba(255, 122, 24, 0.13), transparent 28rem),
    linear-gradient(180deg, #111417 0%, #090b0d 100%);
}

.first-steps {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.first-steps > .back-button {
  margin-bottom: 18px;
}

.first-steps__hero,
.first-steps__progress,
.first-step-card,
.first-steps__finish {
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.first-steps__hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 7vw, 64px) clamp(20px, 6vw, 62px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 15%, rgba(255, 137, 42, 0.3), transparent 34%),
    linear-gradient(145deg, #20252a 0%, #121518 72%);
}

.first-steps__hero::after {
  position: absolute;
  right: -42px;
  bottom: -62px;
  width: 190px;
  height: 190px;
  border: 36px solid rgba(255, 132, 32, 0.08);
  border-radius: 50%;
  content: "";
}

.first-steps__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(255, 145, 54, 0.35);
  border-radius: 999px;
  color: #ff9a47;
  background: rgba(255, 122, 24, 0.1);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.first-steps__hero h1 {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 16px 0 12px;
  color: #fff;
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.first-steps__hero p {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0;
  color: #c7cbd0;
  font-size: clamp(1rem, 2.4vw, 1.16rem);
  line-height: 1.65;
}

.first-steps__progress {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 16px 0 24px;
  padding: 12px;
  border-radius: 24px;
  background: #171b1f;
  list-style: none;
}

.first-steps__progress li {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 11px;
}

.first-steps__progress li:not(:last-child)::after {
  display: block;
  grid-column: 1;
  justify-self: center;
  margin: 8px 0 -4px;
  color: #ff841f;
  content: "↓";
  font-size: 1.15rem;
  font-weight: 800;
}

.first-steps__progress-icon,
.first-step-card__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 139, 45, 0.2);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 140, 48, 0.18), rgba(255, 122, 24, 0.05));
  font-size: 1.65rem;
}

.first-steps__progress strong {
  min-width: 0;
  color: #f5f6f7;
  font-size: 0.9rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.first-steps__cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.first-step-card {
  min-width: 0;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(145deg, #1d2226, #14171a);
}

.first-step-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.first-step-card__number {
  color: rgba(255, 255, 255, 0.18);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.first-step-card h2,
.first-steps__finish h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.28rem, 5vw, 1.65rem);
  line-height: 1.15;
}

.first-step-card p,
.first-steps__finish p {
  margin: 0;
  color: #b9bec4;
  line-height: 1.62;
}

.first-step-card__note {
  margin-top: 16px !important;
  padding: 11px 13px;
  border-left: 3px solid #ff841f;
  border-radius: 0 10px 10px 0;
  color: #e9ecef !important;
  background: rgba(255, 132, 31, 0.08);
  font-size: 0.9rem;
}

.first-steps__finish {
  margin-top: 16px;
  padding: 28px 20px;
  border-color: rgba(255, 133, 32, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 132, 32, 0.2), transparent 34%),
    linear-gradient(145deg, #22272b, #15181b);
  text-align: center;
}

.first-steps__finish-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 18px;
  color: #151515;
  background: linear-gradient(135deg, #ffad5e, #ff7918);
  box-shadow: 0 12px 30px rgba(255, 121, 24, 0.25);
  font-size: 1.65rem;
  font-weight: 900;
}

.first-steps__finish p {
  max-width: 610px;
  margin: 0 auto;
}

.first-steps__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  max-width: 680px;
  margin: 22px auto 0;
}

@media (min-width: 680px) {
  .first-steps-page {
    padding-inline: 24px;
  }

  .first-steps__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .first-step-card--wide {
    grid-column: 1 / -1;
  }

}

@media (min-width: 860px) {
  .first-steps__progress {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 16px 10px;
  }

  .first-steps__progress li {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 8px 18px;
    text-align: center;
  }

  .first-steps__progress li:not(:last-child)::after {
    position: absolute;
    top: 28px;
    right: -8px;
    display: block;
    margin: 0;
    content: "→";
  }
}

@media (max-width: 359px) {
  .first-steps-page {
    padding-inline: 10px;
  }

  .first-steps__hero,
  .first-step-card,
  .first-steps__finish {
    border-radius: 18px;
  }

  .first-steps__hero,
  .first-step-card {
    padding-inline: 17px;
  }
}
