:root {
  color-scheme: dark;
  --bg: #050507;
  --surface: #0d1119;
  --line: #1b2234;
  --text: #eef2ff;
  --muted: #9aa3bd;
  --accent: #7076ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

a {
  color: #cfd6ff;
}

.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 7, 0.9);
  backdrop-filter: blur(8px);
}

.topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: #101624;
  border: 1px solid #253047;
}

.brand-text {
  font-size: 22px;
  font-weight: 600;
}

.back-link {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
}

.legal {
  padding: 34px 0 64px;
}

h1 {
  margin: 0 0 10px;
  font-size: 40px;
  line-height: 1.08;
}

h2 {
  margin: 30px 0 10px;
  font-size: 24px;
  line-height: 1.18;
}

h3 {
  margin: 20px 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

p,
li {
  font-size: 16px;
  line-height: 1.6;
  color: #dde4ff;
}

ul {
  margin: 8px 0 0 20px;
  padding: 0;
}

.muted {
  color: var(--muted);
}

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 20px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

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

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

.footer-links a {
  text-decoration: none;
  color: var(--muted);
}
