:root {
  --layout-spacing: 1.5rem;
}

@media (min-width: 992px) {
  :root {
    --layout-spacing: 2rem;
  }
}
.udid-intro__head {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
}
.udid-intro__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(0, 0%, 100%);
}
.udid-intro__count {
  font-size: 0.75rem;
  font-weight: 500;
  color: hsla(0, 0%, 100%, 0.9);
}
.udid-intro__sub {
  margin: 0.375rem 0 0;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  color: hsla(0, 0%, 100%, 0.6);
}

.udid__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  width: 100%;
  margin-top: 1rem;
  padding: 0.9375rem;
  border-radius: 0.5rem;
  background: hsl(0, 0%, 100%);
  color: hsl(0, 0%, 4%);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: filter 0.18s ease, transform 0.18s ease;
}
.udid__cta svg {
  width: 1.5rem;
  height: 1.5rem;
}
.udid__cta:hover, .udid__cta:focus-visible {
  color: hsl(0, 0%, 4%);
  filter: brightness(0.96);
}
.udid__cta:active {
  transform: translateY(1px);
}

.udid {
  max-width: 33rem;
  margin-inline: auto;
  padding: 1.5rem 1.25rem 3rem;
}

.udid-steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.udid-steps::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 1.5rem;
  left: 3rem;
  width: 1px;
  background: hsl(214, 16%, 87%);
}

.udid-step {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  column-gap: 1.25rem;
  row-gap: 0.25rem;
  align-items: start;
  padding-bottom: 2rem;
}
.udid-step__step {
  grid-column: 1;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  color: hsl(240, 28%, 14%);
  opacity: 0.5;
}
.udid-step__caption {
  grid-column: 2;
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.2;
  color: hsl(0, 0%, 4%);
  opacity: 0.6;
}
.udid-step__num {
  grid-column: 1;
  padding-inline-start: 1.25rem;
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.2;
  color: hsl(240, 28%, 14%);
}
.udid-step__main {
  grid-column: 2;
  min-width: 0;
}
.udid-step__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.2;
  color: hsl(0, 0%, 4%);
}
.udid-step__media {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 1rem;
}
