/* int_legal — the standard legal document set.
 *
 * This stylesheet ADDS emphasis to the conspicuous blocks. It does not CREATE it:
 * every one of those blocks is already written in capitals in the template source,
 * because a rule that lives only in a stylesheet is not part of the document. It does
 * not survive copy-paste, reader mode, a PDF print, or a stylesheet that failed to
 * load — and every one of those is how a court ends up reading the clause. So this
 * file must never case-shift a clause from a rule: doing so silently converts a
 * conspicuous disclaimer into an inconspicuous one, which is the single commonest
 * reason a limitation clause is struck. The devops guard that enforces that reads
 * this file as text and cannot tell a comment from a rule, which is why the property
 * is described here in words rather than by naming the CSS declaration.
 *
 * There is no inline style and no <style> block anywhere in this package: both
 * consuming CSP policies set style-src-attr 'none' with a nonce-only style-src, so an
 * inline rule is dropped in one product and blocked in another.
 */

.int-legal {
  max-width: 52rem;
}

.int-legal-body h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.int-legal-body h3 {
  margin-top: 1.25rem;
  font-size: 1.05rem;
}

.int-legal-body li {
  margin-bottom: .4rem;
}

.int-legal-body ol > li {
  padding-left: .25rem;
}

/* The conspicuous blocks. Bordered, tinted and set in a slightly heavier face so the
 * clause is visually distinct from body text as well as textually distinct. */
.int-legal-conspicuous {
  font-weight: 600;
  line-height: 1.55;
  background-color: rgba(0, 0, 0, .035);
  /* style and colour as well as width: the markup carries Bootstrap's `.border`
   * utility, but int_intelligena ships no Bootstrap and a width with no style computes
   * to 0. Measured there as borderTopWidth: 0px — a conspicuous block with no frame. */
  border: 2px solid rgba(0, 0, 0, .45) !important;
  border-radius: .375rem;
  padding: 1rem;
  margin: 1.25rem 0;
}

.int-legal-callout {
  background-color: rgba(0, 0, 0, .02);
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: .375rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.int-legal-meta {
  letter-spacing: .01em;
}

.int-legal-address {
  font-style: normal;
}

.int-legal-contact dt {
  font-weight: 600;
}

@media (prefers-color-scheme: dark) {
  .int-legal-conspicuous {
    background-color: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .5) !important;
  }
  .int-legal-callout {
    background-color: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .25);
  }
}

@media print {
  .int-legal { max-width: none; }
  .int-legal-conspicuous { border: 2px solid #000 !important; background: none; }
}
