:root {
  --bg: #040a13;
  --panel: rgba(9, 17, 30, 0.9);
  --panel-border: rgba(129, 165, 230, 0.14);
  --line: rgba(145, 170, 214, 0.13);
  --text: #f7faff;
  --muted: #9aaac3;
  --primary: #2e7dff;
  --radius-xl: 28px;
  --radius-md: 16px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 10%, rgba(47, 125, 255, 0.22), transparent 32%),
    radial-gradient(circle at 85% 82%, rgba(73, 160, 255, 0.12), transparent 30%),
    linear-gradient(135deg, #030712 0%, #06111f 54%, #040a13 100%);
}

a { color: #dbe7ff; font-weight: 800; text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; }

.legal-shell {
  width: min(100%, 1020px);
  margin: 0 auto;
  padding: 34px 22px 56px;
}

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 190px;
  max-width: 52vw;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.28));
}

.nav-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
}

.legal-card {
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(14, 26, 46, 0.94), rgba(4, 10, 19, 0.91)),
    radial-gradient(circle at 14% 0%, rgba(64, 135, 255, 0.16), transparent 38%);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(47, 125, 255, 0.14);
  border: 1px solid rgba(139, 176, 239, 0.16);
  color: #d9e8ff;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.updated {
  margin: 0 0 26px;
  color: var(--muted);
  font-weight: 650;
}

section {
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 10px;
  font-size: 1.14rem;
}

p, li {
  color: #cbd8ef;
  line-height: 1.7;
}

p { margin: 0 0 12px; }
ul, ol { margin: 10px 0 0; padding-left: 22px; }
li + li { margin-top: 8px; }

.notice {
  padding: 16px;
  border: 1px solid rgba(79, 140, 255, 0.24);
  border-radius: var(--radius-md);
  background: rgba(79, 140, 255, 0.08);
}

@media (max-width: 680px) {
  .legal-shell { padding: 18px 14px 34px; }
  .legal-nav { align-items: flex-start; flex-direction: column; }
  .nav-links { justify-content: flex-start; }
  .brand-logo { width: 152px; }
}
