:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #667085;
  --line: #d9dee7;
  --paper: #ffffff;
  --bg: #f4f6f8;
  --brand: #003087;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

.legal-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
}

.legal-header,
.legal-document {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-header {
  margin-bottom: 18px;
  padding: 24px;
}

.legal-header a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.legal-header h1 {
  margin: 14px 0 6px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.legal-header p {
  margin: 0;
  color: var(--muted);
}

.legal-document {
  padding: clamp(20px, 4vw, 40px);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.legal-missing {
  background: #fff4e5;
  border: 1px solid #fed7aa;
  color: #7c2d12;
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 14px 16px;
}
