/* ========================================================
   ZYNLUME LEGAL PAGES — UNIFIED DARK LUXURY DESIGN
   ======================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
  background: #06070b;
  scroll-behavior: smooth;
}

:root {
  --bg: #06070b;
  --surface: rgba(255, 255, 255, 0.02);
  --surface-hover: rgba(255, 255, 255, 0.04);
  --text: #f5f6f8;
  --muted: rgba(255, 255, 255, 0.65);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #ffffff;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap {
  width: min(840px, calc(100% - 36px));
  margin: 0 auto;
  padding: 36px 0 90px;
}

.top {
  position: sticky;
  top: 14px;
  z-index: 100;
  min-height: 60px;
  padding: 8px 14px 8px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.top > a {
  color: var(--text);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
}

.top > a:hover {
  color: #ffffff;
}

.langs {
  display: flex;
  gap: 6px;
}

.langs button {
  min-width: 40px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.langs button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.langs button.active {
  background: #ffffff;
  color: #070b13;
  border-color: rgba(255, 255, 255, 0.3);
}

.legal {
  margin-top: 36px;
  padding: clamp(28px, 6vw, 60px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(34px, 5.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 850;
  color: #ffffff;
}

h2 {
  margin: 36px 0 12px;
  font-size: 18px;
  letter-spacing: -0.03em;
  font-weight: 750;
  color: #ffffff;
}

p, li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

a {
  color: #ffffff;
  text-decoration: none !important;
  text-decoration-line: none !important;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

ul {
  padding-left: 24px;
  margin: 12px 0;
}

li {
  margin-bottom: 8px;
}

.muted {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 600px) {
  .wrap {
    width: min(100% - 24px, 840px);
    padding-top: 12px;
  }
  .top {
    top: 8px;
  }
  .legal {
    margin-top: 20px;
    padding: 24px 18px;
    border-radius: 18px;
  }
  h1 {
    font-size: 32px;
  }
}
