.prose {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.prose > * { margin: 0; }
.prose > * + * { margin-top: var(--sp-4); }

.prose :is(h1, h2, h3, h4) {
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--c-text);
}

.prose h1 {
  font-size: calc(var(--fs-h2) * 1.25);
  font-weight: 800;
  line-height: 1.1;
}

.prose h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.15;
}

.prose h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
}

.prose h4 {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-text-muted);
}

.prose > * + :is(h1, h2) { margin-top: var(--sp-12); }
.prose > * + h3 { margin-top: var(--sp-8); }
.prose > * + h4 { margin-top: var(--sp-6); }

.prose ol {
  padding: 0;
  list-style: none;
  counter-reset: prose;
}

.prose li {
  position: relative;
  padding-left: var(--sp-6);
}

.prose li + li { margin-top: var(--sp-2); }

.prose ul > li::before {
  content: "";
  position: absolute;
  top: 0.8em;
  left: var(--sp-1);
  width: var(--sp-3);
  height: 2px;
  background-color: var(--c-accent);
}

.prose ol > li { counter-increment: prose; }

.prose ol > li::before {
  content: counter(prose) ".";
  position: absolute;
  left: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--c-accent);
}

.prose .is-style-steps {
  --node: 40px;
  --pitch: 11rem;
  --steps-gap: var(--sp-4);

  display: grid;
  grid-auto-columns: minmax(0, var(--pitch));
  grid-auto-flow: column;
  justify-content: start;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.prose > * + .is-style-steps,
.prose > .is-style-steps + * { margin-top: var(--sp-8); }

.prose .is-style-steps > li {
  display: grid;
  grid-template-columns: var(--node);
  justify-items: center;
  padding: calc(var(--node) + var(--sp-3)) 0 0;
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--c-text);
  counter-increment: step;
}

.prose .is-style-steps > li + li { margin-top: 0; }

.prose .is-style-steps > li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: var(--node);
  height: var(--node);
  border: 2px solid var(--c-accent);
  border-radius: 50%;
  background-color: var(--c-bg);
  font-size: var(--fs-tiny);
  letter-spacing: 0;
  color: var(--c-accent);
}

.prose .is-style-steps > li:last-child::before {
  background-color: var(--c-accent);
  color: var(--c-accent-ink);
}

.prose .is-style-steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--node) / 2 - 1px);
  left: var(--node);
  width: calc(100% - var(--node));
  height: 2px;
  background-color: var(--c-line-strong);
}

.prose a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose strong {
  font-weight: 600;
  color: var(--c-text);
}

@media (max-width: 1080px) {
  .prose .is-style-steps {
    grid-auto-columns: auto;
    grid-auto-flow: row;
    row-gap: var(--steps-gap);
  }

  .prose .is-style-steps > li {
    display: flex;
    align-items: center;
    min-height: var(--node);
    padding: 0 0 0 calc(var(--node) + var(--sp-4));
    white-space: normal;
  }

  .prose .is-style-steps > li:not(:last-child)::after {
    top: var(--node);
    bottom: calc(-1 * var(--steps-gap));
    left: calc(var(--node) / 2 - 1px);
    width: 2px;
    height: auto;
  }
}
