/* How agreements work (templates/core/how_agreements_work.html): a guide on the shared document layout (contents
   list beside a prose column, flow lists) from layouts/public.css; tokens only. */

.hiw-body {
  padding-bottom: var(--ds-space-120);
}

.hiw-walkthrough {
  margin-bottom: var(--ds-space-16);
  color: var(--public-muted);
}

.hiw-walkthrough a {
  color: var(--ds-text);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--ds-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* The two flow graphics, as short ordered lists in a quiet panel */
.public-doc .ds-prose ol.hiw-flow {
  padding: var(--ds-space-24) var(--ds-space-24) var(--ds-space-24)
    var(--ds-space-48);
  border: 1px solid var(--ds-border-subtle);
  border-radius: var(--ds-radius-12);
  background: var(--ds-surface-subtle);
}

.hiw-cta {
  margin-top: var(--ds-space-64);
  padding: var(--ds-space-48) var(--ds-space-32);
}

.hiw-footnote {
  margin-top: var(--ds-space-48);
  color: var(--public-muted);
  font-size: var(--ds-type-small-size);
  line-height: var(--ds-type-small-leading);
}

@media (max-width: 767px) {
  .hiw-body {
    padding-bottom: var(--ds-space-64);
  }

  .hiw-cta {
    padding: var(--ds-space-32) var(--ds-space-24);
  }
}
