:root {
  --background: #08090d;
  --surface: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.11);
  --text: #f6f7fb;
  --text-soft: #a9adbb;
  --accent-light: #c4b5fd;
  --king-blue: #20a7e6;
  --king-yellow: #ffbd2e;
  --max-width: 920px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 5%, rgba(139, 92, 246, 0.18), transparent 31%),
    radial-gradient(circle at 90% 26%, rgba(32, 167, 230, 0.12), transparent 28%),
    var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--king-blue);
  outline-offset: 4px;
}

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

.navigation {
  border-bottom: 1px solid var(--border);
  background: rgba(8, 9, 13, 0.76);
  backdrop-filter: blur(18px);
}

.navigation-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.logo {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(32, 167, 230, 0.72));
  box-shadow: 0 10px 35px rgba(139, 92, 246, 0.28);
  font-size: 0.82rem;
  letter-spacing: -0.06em;
}

.back-link {
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 160ms ease;
}

.back-link:hover {
  color: var(--text);
}

.legal-hero {
  padding: 100px 0 54px;
}

.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 22px;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent-light);
  background: rgba(139, 92, 246, 0.08);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--king-yellow);
  box-shadow: 0 0 16px rgba(255, 189, 46, 0.7);
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(120deg, #fff 20%, var(--accent-light) 57%, var(--king-blue));
  -webkit-background-clip: text;
  background-clip: text;
}

.legal-intro {
  max-width: 700px;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.updated {
  display: inline-block;
  margin-top: 20px;
  color: #d9dce5;
  font-size: 0.84rem;
  font-weight: 750;
}

.legal-card {
  margin-bottom: 90px;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.legal-section + .legal-section {
  margin-top: 42px;
  padding-top: 42px;
  border-top: 1px solid var(--border);
}

.legal-section h2 {
  margin-bottom: 13px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.legal-section h3 {
  margin: 24px 0 8px;
  font-size: 1.08rem;
}

.legal-section p,
.legal-section li {
  color: var(--text-soft);
}

.legal-section p + p {
  margin-top: 14px;
}

.legal-section ul {
  display: grid;
  gap: 9px;
  margin: 14px 0 0 20px;
}

.legal-section a {
  color: #bcecff;
  text-decoration: underline;
  text-decoration-color: rgba(188, 236, 255, 0.35);
  text-underline-offset: 3px;
}

.legal-callout {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(32, 167, 230, 0.24);
  border-radius: 16px;
  color: #d9f5ff;
  background: rgba(32, 167, 230, 0.08);
}

footer {
  padding: 0 0 42px;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.footer-inner,
.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-inner {
  justify-content: space-between;
}

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

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .logo-text {
    display: none;
  }

  .legal-hero {
    padding-top: 72px;
  }

  .footer-inner,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }
}
