:root {
  --page: #111824;
  --panel: #151e2c;
  --text: #f7f9fc;
  --muted: #a8b4c4;
  --line: #2a3a50;
  --blue: #2f6bff;
  --blue-soft: #65a0ff;
  --orange: #f07a34;
  --max: 960px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--page); }

body {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0, rgba(47, 107, 255, 0.12), transparent 28%),
    var(--page);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

a { color: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.topbar {
  border-bottom: 1px solid rgba(42, 58, 80, 0.45);
  background: #070b11;
}

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

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

.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-text { display: grid; gap: 2px; }
.brand-name { color: var(--orange); font-family: "Unbounded", sans-serif; font-size: 21px; font-weight: 800; }
.brand-sub { color: var(--blue-soft); font-size: 10px; font-weight: 800; text-transform: uppercase; }

.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: var(--panel);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

main { padding: 58px 0 72px; }

.legal-head {
  margin-bottom: 30px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(47, 107, 255, 0.13), rgba(21, 30, 44, 0.98));
}

.badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--blue-soft);
  background: rgba(47, 107, 255, 0.12);
  border: 1px solid rgba(101, 160, 255, 0.25);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 { max-width: 820px; font-size: clamp(32px, 6vw, 52px); line-height: 1.08; }
.effective { margin-top: 14px; color: var(--muted); font-size: 14px; }

.legal-content { display: grid; gap: 18px; }

.intro,
.legal-content section {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

h2 { margin-bottom: 14px; font-size: 23px; line-height: 1.25; }
h3 { margin: 18px 0 8px; color: var(--text); font-size: 17px; line-height: 1.35; }
p, li { color: var(--muted); font-size: 16px; line-height: 1.65; }
p + p { margin-top: 10px; }
ul { display: grid; gap: 8px; margin-top: 10px; padding-left: 22px; }
.legal-content a { color: var(--blue-soft); font-weight: 700; }
.contact-list { display: grid; gap: 5px; list-style: none; padding-left: 0; }

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.legal-nav a {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(16, 23, 34, 0.7);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.legal-nav a[aria-current="page"] { color: var(--text); border-color: rgba(101, 160, 255, 0.45); }

.foot {
  padding: 24px 0;
  border-top: 1px solid rgba(42, 58, 80, 0.45);
  color: var(--muted);
  font-size: 13px;
}

.foot-inner { display: flex; justify-content: space-between; gap: 16px; }

@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 24px)); }
  .topbar-inner { min-height: 0; padding: 12px 0; }
  .brand-sub { display: none; }
  .back-link { padding-inline: 12px; }
  main { padding: 36px 0 48px; }
  .legal-head, .intro, .legal-content section { padding: 20px; border-radius: 16px; }
  .foot-inner { flex-direction: column; }
}
