/* terms page styles */

/* "in short" chips under the hero copy */
.tr-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.tr-keys li {
  padding: 5px 10px;
  border: 1.5px solid var(--sw-edge);
  border-radius: 3px;
  font: 700 10.5px/1.2 var(--sw-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
}
.tr-keys li:first-child {
  border-color: var(--red-hot);
  color: var(--red-hot);
}

/* numbered clauses */
.tr-list { counter-reset: tr; }
.tr-list > article {
  counter-increment: tr;
  scroll-margin-top: 96px;
}
.tr-list > article h2::before {
  content: counter(tr, decimal-leading-zero);
  display: block;
  margin-bottom: 6px;
  font: 700 10.5px/1 var(--sw-mono);
  letter-spacing: 0.16em;
  color: var(--red);
}
.tr-list > article:target {
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--cream);
}

/* hero eyebrow sits on the ink band: .cap-eyebrow's ink-mute colour outranks text-cream/55 in the
   compiled CSS, which made it invisible — force the light tone here */
[data-sw-page="terms"] section.bg-ink .cap-eyebrow { color: var(--cream-mute); }
