/* Rules page layout. Shared pieces live in site.css. */

/* The rules. Numerals are metadata, so they sit in the faint tier
   and stay out of the way of the rule itself. */
.rules {
  list-style: none;
  counter-reset: rule;
  margin: clamp(56px, 9vw, 88px) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(36px, 6vw, 56px);
}

.rules > li {
  counter-increment: rule;
  display: grid;
  grid-template-columns: 2.5em 1fr;
  column-gap: clamp(4px, 1.5vw, 10px);
  align-items: baseline;
}

.rules > li::before {
  content: counter(rule, upper-roman) ".";
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--ink-faint);
}

.rules > li > * { grid-column: 2; }

.rules p {
  margin: 10px 0 0;
  max-width: 54ch;
  color: var(--ink-soft);
}
