:root {
  --legal-bg: #08090b;
  --legal-surface: #0d0f12;
  --legal-line: rgba(247, 249, 252, 0.1);
  --legal-text: #fbfcff;
  --legal-muted: #9b9fa6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--legal-bg); }

body {
  margin: 0;
  background: var(--legal-bg);
  color: var(--legal-text);
  font-size: 16px;
  letter-spacing: 0;
}

a { color: inherit; }

.legal-shell { min-height: 100vh; }

.legal-header,
.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.legal-header {
  min-height: 78px;
  border-bottom: 1px solid var(--legal-line);
}

.legal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.legal-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.legal-brand span { font-size: 0.86rem; font-weight: 650; }
.legal-header > a { color: var(--legal-muted); font-size: 0.78rem; text-decoration: none; }
.legal-header > a:hover { color: var(--legal-text); }

.legal-content {
  width: min(840px, calc(100% - 48px));
  margin-inline: auto;
  padding: clamp(92px, 11vw, 150px) 0 clamp(110px, 13vw, 180px);
}

.legal-kicker {
  margin: 0 0 18px;
  color: #8d929a;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.legal-content h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.98;
  font-weight: 590;
}

.legal-updated { margin: 22px 0 72px; color: #737880; font-size: 0.78rem; }

.legal-content h2 {
  margin: 54px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--legal-line);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.25;
  font-weight: 600;
}

.legal-content p,
.legal-content li {
  color: var(--legal-muted);
  line-height: 1.8;
}

.legal-content ul { margin: 18px 0 0; padding-left: 20px; }
.legal-content li + li { margin-top: 8px; }
.legal-content a { color: var(--legal-text); text-underline-offset: 4px; }

.legal-footer {
  padding-block: 28px;
  border-top: 1px solid var(--legal-line);
  color: #737880;
  font-size: 0.7rem;
}

.legal-footer nav { display: flex; gap: 20px; }
.legal-footer a { text-decoration: none; }
.legal-footer a:hover { color: var(--legal-text); }

@media (max-width: 640px) {
  .legal-header,
  .legal-footer,
  .legal-content { width: min(100% - 32px, 840px); }
  .legal-content { padding-block: 78px 110px; }
  .legal-updated { margin-bottom: 54px; }
  .legal-footer { align-items: flex-start; flex-direction: column; }
}
