.agreement { max-width: 900px; padding: 3rem 0; }
.agreement > a { color: var(--teal); text-decoration: underline; }
.agreement .document-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; color: var(--text); font-weight: 700; text-decoration: none; }
.document-brand img { width: 3rem; height: 3rem; object-fit: contain; }
.agreement .eyebrow { margin-top: 2rem; }
.agreement article { padding: clamp(1rem, 4vw, 3rem); border: 1px solid var(--line-strong); border-radius: 24px; background: rgba(12, 20, 33, 0.85); box-shadow: 0 20px 70px rgba(124, 92, 255, 0.15); }
.agreement h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); line-height: 1.2; }
.agreement h2 { color: var(--teal); font-size: 1.3rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.agreement h3 { font-size: 1.05rem; line-height: 1.5; margin: 1.5rem 0 0.6rem; }
.agreement article { line-height: 1.75; }
.agreement article p { margin: 0 0 1rem; }
.agreement article ul { padding-left: 1.4rem; margin: 0 0 1.25rem; }
.agreement article li { padding-left: 0.25rem; margin-bottom: 0.6rem; overflow-wrap: anywhere; }
.agreement article a { color: var(--teal); text-decoration: underline; text-underline-offset: 0.2em; }
.agreement [id] { scroll-margin-top: 2rem; }
.agreement p { overflow-wrap: anywhere; }
.agreement-source { color: var(--muted); font-size: 0.85rem; }
@page { size: letter; margin: 0.7in; }
@media print {
  html, body { background: white; color: black; }
  body { font-family: Arial, sans-serif; font-size: 10pt; line-height: 1.45; }
  .agreement { width: 100%; max-width: none; padding: 0; }
  .agreement article { padding: 0; border: 0; border-radius: 0; background: white; color: black; box-shadow: none; }
  .agreement h1 { font-size: 18pt; margin: 0 0 14pt; break-after: avoid; }
  .agreement h2 { color: black; font-size: 12pt; margin-top: 16pt; padding-top: 8pt; border-color: #bbb; break-after: avoid; }
  .agreement h3 { color: black; font-size: 10.5pt; margin-top: 12pt; break-after: avoid; }
  .agreement article { line-height: 1.45; }
  .agreement article li { margin-bottom: 5pt; orphans: 3; widows: 3; }
  .agreement article a { color: black; }
  .agreement article p { margin: 0 0 8pt; orphans: 3; widows: 3; }
  .agreement > a, .agreement-download, .agreement .eyebrow { display: none; }
  .agreement .document-brand { display: flex; color: black; }
  .agreement-source { color: #555; font-size: 8pt; margin-top: 16pt; }
}
