:root {
  --ink: #080810;
  --ink2: #0f0f1c;
  --ink3: #161625;
  --border: rgba(155, 93, 229, 0.18);
  --purple: #9b5de5;
  --lavender: #c084fc;
  --soft: #e9d5ff;
  --white: #f5f0ff;
  --muted: rgba(245, 240, 255, 0.45);
  --nav-h: 100px;
  --r: 20px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  background: var(--ink);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: inherit;
  cursor: pointer;
}
ul {
  list-style: none;
}
#c {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}
.wrap {
  position: relative;
  z-index: 2;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 16, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.nav-inner {
  width: 82%;
  max-width: 1100px;
  display: flex;
  align-items: center;
}
.nav-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin-right: auto;
}
.nav-logo img {
  width: 90px;
}
.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(245, 240, 255, 0.65);
  padding: 8px 16px;
  border-radius: 99px;
  transition:
    color 0.2s,
    background 0.2s;
  text-transform: uppercase;
}
.nav-link:hover {
  color: var(--white);
  background: rgba(155, 93, 229, 0.12);
}
.nav-right {
  flex: 0 0 auto;
  margin-left: auto;
}
.btn-nav {
  padding: 10px 22px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--lavender);
  border: 1.5px solid rgba(192, 132, 252, 0.35);
  background: rgba(155, 93, 229, 0.07);
  text-transform: uppercase;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  justify-content: center;
  align-items: center;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--lavender);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 190;
  background: rgba(10, 10, 20, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  transition:
    max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  max-height: 400px;
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  padding: 18px 28px;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(245, 240, 255, 0.75);
  border-bottom: 1px solid rgba(42, 42, 64, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    color 0.2s,
    padding-left 0.2s;
}
.mobile-menu.open a {
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu.open a:nth-child(1) {
  transition-delay: 0.04s;
}
.mobile-menu.open a:nth-child(2) {
  transition-delay: 0.08s;
}
.mobile-menu.open a:nth-child(3) {
  transition-delay: 0.12s;
}
.mobile-menu.open a:nth-child(4) {
  transition-delay: 0.16s;
}
.mobile-menu a:hover {
  color: var(--lavender);
  background: rgba(155, 93, 229, 0.06);
  padding-left: 38px;
}
.m-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple);
  flex-shrink: 0;
}
.glow-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(155, 93, 229, 0.3),
    transparent
  );
}

.legal-hero {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.legal-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(155, 93, 229, 0.1) 0%,
    transparent 65%
  );
  top: -150px;
  left: -100px;
}
.legal-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.legal-eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--lavender);
}
.legal-h1 {
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.legal-h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--lavender), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.legal-date {
  font-size: 0.8rem;
  color: var(--muted);
}
.legal-content {
  padding: 60px 0 100px;
}
.legal-card {
  background: var(--ink2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
}
.legal-section {
  margin-bottom: 40px;
}
.legal-section:last-child {
  margin-bottom: 0;
}
.legal-section h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--lavender);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.legal-section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 20px;
}
.legal-section p {
  font-size: 0.88rem;
  color: rgba(245, 240, 255, 0.65);
  line-height: 1.85;
  margin-bottom: 10px;
}
.legal-section a {
  color: var(--lavender);
  text-decoration: underline;
}
.legal-section ul {
  padding-left: 20px;
  margin-bottom: 10px;
}
.legal-section ul li {
  font-size: 0.88rem;
  color: rgba(245, 240, 255, 0.65);
  line-height: 1.85;
  list-style: disc;
  margin-bottom: 4px;
}
.legal-toc {
  background: rgba(155, 93, 229, 0.06);
  border: 1px solid rgba(155, 93, 229, 0.15);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 36px;
}
.legal-toc-title {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lavender);
  font-weight: 700;
  margin-bottom: 12px;
}
.legal-toc ul {
  padding-left: 0;
}
.legal-toc ul li {
  list-style: none;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.legal-toc ul li a {
  color: rgba(192, 132, 252, 0.7);
  text-decoration: none;
}
.legal-toc ul li a:hover {
  color: var(--lavender);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 99px;
  border: 1.5px solid var(--border);
  color: var(--lavender);
  font-size: 0.84rem;
  font-weight: 700;
  transition: all 0.25s;
  margin-bottom: 32px;
}
.legal-back:hover {
  border-color: var(--lavender);
  background: rgba(155, 93, 229, 0.08);
  transform: translateX(-4px);
}
@media (max-width: 900px) {
  .nav-inner {
    width: 92%;
  }
  .nav-center,
  .nav-right {
    display: none;
  }
  .nav-hamburger {
    display: flex;
    margin-left: auto;
  }
  .legal-card {
    background: var(--ink2);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px;
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
  }
}

/*═══════════════════════════════════════════
  SITE FOOTER (shared)
═══════════════════════════════════════════*/
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.sf-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(155, 93, 229, 0.1);
  margin-bottom: 32px;
}
.sf-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1.5px dashed rgba(192, 132, 252, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.56rem;
  color: rgba(192, 132, 252, 0.4);
  text-align: center;
  line-height: 1.4;
  margin-bottom: 18px;
}
.sf-name {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--lavender);
  margin-bottom: 12px;
}
.sf-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 260px;
}
.sf-col-title {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 20px;
  font-weight: 700;
}
.sf-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sf-link {
  font-size: 0.84rem;
  color: var(--muted);
  padding: 5px 0;
  transition:
    color 0.2s,
    padding-left 0.2s;
  display: block;
}
.sf-link:hover {
  color: var(--lavender);
  padding-left: 6px;
}
.sf-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.sf-copy {
  font-size: 0.72rem;
  color: rgba(245, 240, 255, 0.25);
  letter-spacing: 0.04em;
}
.sf-legal {
  color: rgba(245, 240, 255, 0.4);
}
.sf-legal:hover {
  color: var(--lavender);
}
.sf-socials {
  display: flex;
  gap: 10px;
}
.sf-social {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--muted);
  transition: all 0.25s;
  text-decoration: none;
}
.sf-social:hover {
  border-color: rgba(192, 132, 252, 0.5);
  color: var(--lavender);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .sf-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sf-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
