:root {
  --bg: #070b11;
  --panel: #101720;
  --line: #263241;
  --text: #f7fbff;
  --muted: #9aa8b7;
  --green: #8df23e;
  --amber: #f7b955;
  --radius: 8px;
}

* { box-sizing: border-box; }

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

a { color: var(--green); text-decoration: none; }

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

.legal-header,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px;
}

.legal-header img {
  width: 190px;
}

.legal-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
}

.legal-card {
  padding: clamp(18px, 4vw, 34px);
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
}

h2 {
  margin-top: 28px;
  font-size: 20px;
}

p,
li {
  color: var(--muted);
}

.notice {
  border: 1px solid rgba(247, 185, 85, 0.42);
  border-radius: var(--radius);
  background: rgba(247, 185, 85, 0.08);
  color: var(--text);
  padding: 12px;
}

.updated {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .legal-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

