/* ========== Spec Steps (shared, mobile-first) ========== */

.spec-steps {
  background-color: var(--color-bg);
}

.spec-steps__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: var(--section-pad-y-compact);
  padding-bottom: var(--section-pad-y-compact);
}

.spec-steps__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  order: 2;
}

.spec-steps__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.spec-steps__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: var(--font-weight-bold);
  line-height: 30.4px;
  color: var(--color-text);
}

.spec-steps__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: var(--font-weight-regular);
  line-height: 22.95px;
  color: var(--color-text);
}

.spec-steps__steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-steps__steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  line-height: 18.2px;
  color: var(--color-text);
}

.spec-steps__steps li:not(:last-child)::after {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  background: url("../icons/arrow-right.svg") center / contain no-repeat;
}

.spec-steps__prompt {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: var(--font-weight-medium);
  line-height: 22px;
  color: var(--color-text);
}

.spec-steps__cta {
  align-self: stretch;
  font-size: 15px;
  line-height: 18px;
  text-align: center;
}

.spec-steps__figure {
  order: 1;
  margin: 0;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 16px;
}

.spec-steps__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 1025px) {
  .spec-steps__inner {
    flex-direction: row;
    align-items: center;
    gap: 80px;
    padding-top: var(--section-pad-y-compact);
    padding-bottom: var(--section-pad-y-compact);
  }

  .spec-steps__copy {
    flex: 1 1 0;
    min-width: 0;
    gap: 32px;
    order: unset;
  }

  .spec-steps__intro {
    gap: 24px;
  }

  .spec-steps__title {
    font-size: 52px;
    line-height: 44.2px;
  }

  .spec-steps__text {
    font-size: 21px;
    line-height: 27.3px;
    opacity: 0.8;
  }

  .spec-steps__steps {
    gap: 16px;
  }

  .spec-steps__steps li {
    gap: 16px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: var(--font-weight-medium);
    line-height: 22px;
  }

  .spec-steps__steps li:not(:last-child)::after {
    width: 16px;
    height: 16px;
  }

  .spec-steps__cta {
    align-self: flex-start;
    font-size: 16px;
    line-height: 19.2px;
    text-align: left;
  }

  .spec-steps__figure {
    flex: 0 0 600px;
    width: 600px;
    max-width: 50%;
    height: 500px;
    order: unset;
    border-radius: 24px;
  }
}
