/* Step layouts use the page width; only their paragraphs use a reading measure. */
.beta-subpage .how-sections {
  gap: 48px;
  padding-block: 56px;
}

.beta-subpage .how-sections > .how-step {
  width: min(1320px, calc(100% - 112px));
  max-width: none;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.beta-subpage .how-sections .how-step > * {
  min-width: 0;
}

.beta-subpage .how-sections .how-step h2 {
  max-width: 24ch;
  margin-block: 12px 24px;
  text-wrap: balance;
}

.beta-subpage .how-sections .how-step > div > p:not(.step-number) {
  max-width: 65ch;
}

.beta-subpage .how-sections .prose-visual {
  width: 100%;
  max-width: 520px;
  padding: 32px;
  justify-self: end;
}

.beta-subpage .how-sections .prose-visual svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
}

.beta-subpage .how-sections .scatter-quadrant {
  fill: var(--band);
}

.beta-subpage .how-sections .scatter-focus {
  fill: var(--forest);
}

.beta-subpage .how-sections .scorecard {
  gap: 16px;
}

.beta-subpage .how-sections .scorecard li {
  padding-top: 12px;
  font-size: 15px;
}

@media (max-width: 1150px) {
  .beta-subpage .how-sections > .how-step {
    width: calc(100% - 80px);
  }
}

@media (max-width: 900px) {
  .beta-subpage .how-sections > .how-step {
    width: calc(100% - 56px);
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .beta-subpage .how-sections .prose-visual {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .beta-subpage .how-sections {
    padding-block: 40px;
    gap: 40px;
  }

  .beta-subpage .how-sections > .how-step {
    width: calc(100% - 40px);
  }

  .beta-subpage .how-sections .prose-visual {
    padding: 24px;
  }
}
