/* THE TERMS PAGE'S OWN RULES. Loaded after the studio stylesheet, which carries
   the palette, the two faces and the masthead. An external file because the
   site ships `style-src 'self'` with no inline styles (see studio.css). */

.terms-date {
  font-family: var(--font-mono);
  font-size: var(--text-hint);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: -0.5rem 0 2rem;
}

/* The four promises a client actually needs, before the clauses. */
.terms-brief {
  margin: 2rem 0 0;
  padding: 1.5rem 1.5rem 0.6rem;
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--gold-3);
  background: linear-gradient(180deg, rgba(198, 168, 103, 0.07), rgba(198, 168, 103, 0) 70%);
}
.terms-brief__head {
  font-family: var(--font-mono);
  font-size: var(--text-hint);
  letter-spacing: var(--track-mark);
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0 0 1rem;
}
.terms-brief ul { list-style: none; margin: 0; padding: 0; }
.terms-brief li {
  position: relative;
  padding: 0 0 0.9rem 1.4rem;
}
.terms-brief li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-1), var(--gold-3));
}
.terms-brief strong { color: var(--gold-1); font-weight: 400; }

/* Numbered clauses: the number is drawn by the stylesheet, in gold, so the
   headings stay plain text for a screen reader and a search engine. */
.terms { counter-reset: clause; }
.terms h2 { counter-increment: clause; color: var(--text-secondary); }
.terms h2::before {
  content: counter(clause, decimal-leading-zero);
  color: var(--gold-2);
  margin-right: 1.1em;
}
.terms ul { margin: 0 0 1.1rem; padding-left: 1.2rem; }
.terms li { margin-bottom: 0.45rem; }
.terms li::marker { color: var(--gold-3); }
.terms strong { color: var(--bone); font-weight: 600; }
