:root {
  color-scheme: dark;
  --ink: #292f36;
  --paper: #ece2d0;
  --gold: #f7cb78;
  --rose: #a37774;
  --green: #5da271;
  --line: rgba(247, 203, 120, 0.36);
  --shadow: rgba(0, 0, 0, 0.34);
  --copy: rgba(236, 226, 208, 0.9);
  --muted-copy: rgba(236, 226, 208, 0.82);
  --reading-font: "Segoe UI", Arial, sans-serif;
  --radius-control: 8px;
  --radius-surface: 12px;
  --radius-icon: 24px;
  --text-small: 0.85rem;
  --text-body: 1rem;
  --text-heading: 1.2rem;
  --text-section: clamp(1.4rem, 2.5vw, 1.8rem);
  --text-title: clamp(1.8rem, 4.4vw, 3.2rem);
  --space-small: 8px;
  --space-medium: 16px;
  --space-card: 24px;
  --space-large: 32px;
  --space-section: 56px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--reading-font);
  font-size: 17px;
  line-height: 1.65;
}

.legal-document {
  box-sizing: border-box;
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0;
  overflow-wrap: anywhere;
}

.legal-document > strong:first-child,
.legal-document h1 {
  display: block;
  color: var(--gold);
  font-size: var(--text-title);
  line-height: 1.3;
  margin-bottom: 24px;
}

.legal-document h2 {
  margin: 32px 0 12px;
  color: var(--gold);
  font-size: var(--text-section);
  line-height: 1.3;
}

.legal-document a {
  color: var(--gold);
  text-underline-offset: 3px;
}
