/* The member code of ethics (public/code-of-ethics.html). The page is the
   privacy policy's sheet (/privacy.css); this file adds the one thing that
   page has none of: a numbered pledge, each number set in the margin so the
   eight sentences in bold line up down the sheet. */

.code-pledges {
  list-style: none;
  counter-reset: pledge;
  margin: 4px 0 6px;
  padding: 0;
  max-width: 70ch;
}
.privacy-card .code-pledges li {
  counter-increment: pledge;
  position: relative;
  margin: 0;
  padding: 14px 0 14px 40px;
  border-top: 1px solid var(--line);
}
.privacy-card .code-pledges li:first-child { border-top: 0; }
/* The number: charcoal on mint, 9.6:1. */
.code-pledges li::before {
  content: counter(pledge);
  position: absolute;
  left: 0;
  top: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--mint);
  color: #3b3b3b;
  font: 700 13px/26px var(--font-sans);
  text-align: center;
}
.code-pledges strong { display: block; font-weight: 700; }

/* One sentence over two lines: even lines, not one word left on the second. */
.code-lede { text-wrap: balance; }
