:root {
  --background: #f5f7fb;
  --surface: #ffffff;
  --text: #18202f;
  --muted: #647084;
  --border: #d8deea;
  --accent: #126a5c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

.legal-page {
  width: min(920px, calc(100% - 32px));
  margin: 48px auto;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.legal-header {
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
}

h2 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.3;
}

section {
  margin-bottom: 28px;
}

section:last-child {
  margin-bottom: 0;
}

p {
  color: var(--muted);
  font-size: 16px;
}

.updated {
  margin-bottom: 0;
  color: var(--muted);
}

a {
  color: var(--accent);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .legal-page {
    width: min(100% - 20px, 920px);
    margin: 20px auto;
    padding: 28px 20px;
  }
}
