/* Legal pages — Privacy / Terms / Disclaimer. Centered single-column,
   readable typography on dark background, matches welcome aesthetic. */

.legal-page {
  margin: 0;
  background: #0b0e15;
  color: rgba(234, 236, 239, 0.92);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

.legal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  background: rgba(11, 14, 21, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
}

.legal-brand img {
  height: 28px;
  width: auto;
  display: block;
}

.legal-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: transparent;
  color: rgba(234, 236, 239, 0.82);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.legal-lang:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.legal-shell {
  display: flex;
  justify-content: center;
  padding: 48px 24px 96px;
}

.legal-doc {
  max-width: 760px;
  width: 100%;
}

.legal-doc h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: #fff;
}

.legal-doc h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 36px 0 12px;
  color: #fff;
}

.legal-doc p {
  margin: 0 0 14px;
}

.legal-doc ul {
  margin: 0 0 14px;
  padding-left: 24px;
}

.legal-doc li {
  margin: 0 0 6px;
}

.legal-doc a {
  color: var(--accent, #6ee7b7);
  text-decoration: none;
  border-bottom: 1px solid rgba(110, 231, 183, 0.32);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.legal-doc a:hover {
  color: #fff;
  border-color: #fff;
}

.legal-doc strong {
  color: rgba(255, 255, 255, 0.98);
  font-weight: 600;
}

.legal-updated {
  margin: 0 0 28px;
  color: rgba(234, 236, 239, 0.5);
  font-size: 13px;
}

.legal-callout {
  margin: 16px 0 32px;
  padding: 16px 18px;
  border-left: 3px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
}

.legal-callout p {
  margin: 0;
}

.legal-callout-warn {
  border-left-color: #f6b05a;
  background: rgba(246, 176, 90, 0.06);
}

.legal-callout-danger {
  border-left-color: #ff7a7a;
  background: rgba(255, 122, 122, 0.06);
}

.legal-other-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.legal-other-links a {
  color: rgba(234, 236, 239, 0.72);
  text-decoration: none;
  border-bottom: none;
}

.legal-other-links a:hover {
  color: #fff;
}

@media (max-width: 520px) {
  .legal-topbar { padding: 14px 16px; }
  .legal-shell { padding: 32px 16px 64px; }
  .legal-doc h1 { font-size: 26px; }
  .legal-doc h2 { font-size: 18px; margin: 28px 0 10px; }
}
