:root {
  --void-deep: #030304;
  --void-nebula: #0E0E14;
  --lunar-bright: #E8E8F0;
  --lunar-soft: #A8A8B8;
  --lunar-dim: #68687A;
  --lunar-ghost: #38384A;
  --exhaust-core: #FF6B2C;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--void-deep);
  color: var(--lunar-soft);
  line-height: 1.7;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

nav {
  padding: 16px 0;
  border-bottom: 1px solid rgba(56, 56, 74, 0.3);
  margin-bottom: 48px;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--lunar-bright);
}

.nav-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.nav-brand span {
  font-size: 16px;
  font-weight: 700;
}

.nav-back {
  color: var(--lunar-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.nav-back:hover {
  color: var(--lunar-soft);
}

.legal {
  padding-bottom: 96px;
}

.legal h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--lunar-bright);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.legal .updated {
  font-size: 14px;
  color: var(--lunar-dim);
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--lunar-bright);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal p {
  margin-bottom: 16px;
  font-size: 15px;
}

.legal ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal li {
  margin-bottom: 8px;
  font-size: 15px;
}

.legal a {
  color: var(--exhaust-core);
  text-decoration: none;
}

.legal a:hover {
  text-decoration: underline;
}

.legal strong {
  color: var(--lunar-bright);
  font-weight: 600;
}

footer {
  padding: 32px 0;
  border-top: 1px solid rgba(56, 56, 74, 0.3);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  color: var(--lunar-dim);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--lunar-dim);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--lunar-soft);
}

@media (max-width: 640px) {
  .legal h1 {
    font-size: 26px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
