.learn-hero {
  max-width: 920px;
}

.how-flow {
  position: relative;
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 0 0 0.5rem;
}

.how-flow::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 34px;
  bottom: 34px;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(240,122,45,.48),
    rgba(255,218,190,.10) 45%,
    rgba(240,122,45,.32)
  );
}

.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
  padding: 0.25rem 0 1.7rem;
}

.flow-number {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #211914;
  border: 1px solid rgba(240,122,45,.46);
  color: #ff9845;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  box-shadow: 0 0 0 7px rgba(18,13,10,.72);
}

.flow-copy {
  padding: 0.15rem 0 0;
  max-width: 680px;
}

.flow-label {
  margin: 0 0 .2rem;
  color: #ff9845 !important;
  font-size: .68rem !important;
  font-weight: 900 !important;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.flow-copy h2 {
  margin: 0;
  color: #fff9f2;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.flow-copy > p:last-child {
  max-width: 650px;
  margin: .45rem 0 0;
  color: #b9aaa0;
  font-size: .92rem;
  line-height: 1.55;
}

.learn-output {
  max-width: 900px;
  margin: 1rem auto 2rem;
  padding: 1.35rem 1.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(18,13,10,.72);
  border: 1px solid rgba(255,218,190,.12);
  border-radius: 18px;
}

.learn-output h2 {
  margin: 0;
  color: #fff9f2;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  letter-spacing: -.035em;
}

.learn-output > div:first-child > p:last-child {
  max-width: 650px;
  margin: .45rem 0 0;
  color: #a9988c;
  line-height: 1.5;
  font-size: .88rem;
}

.learn-output-actions {
  flex: 0 0 auto;
  display: flex;
  gap: .55rem;
  align-items: center;
}

@media (max-width: 700px) {
  .how-flow {
    margin-top: 1.4rem;
  }

  .how-flow::before {
    left: 22px;
  }

  .flow-step {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: .8rem;
    padding-bottom: 1.4rem;
  }

  .flow-number {
    width: 46px;
    height: 46px;
    box-shadow: 0 0 0 5px rgba(18,13,10,.72);
  }

  .flow-copy h2 {
    font-size: 1.25rem;
  }

  .flow-copy > p:last-child {
    font-size: .86rem;
  }

  .learn-output {
    flex-direction: column;
    align-items: stretch;
    padding: 1.1rem;
  }

  .learn-output-actions {
    width: 100%;
  }

  .learn-output-actions .btn {
    flex: 1;
  }
}

@media (max-width: 420px) {
  .learn-output-actions {
    flex-direction: column;
  }

  .learn-output-actions .btn {
    width: 100%;
  }
}
