/* ── Legal pages (Terms & Privacy) ── */
.legal-main {
  min-height: calc(100vh - 73px);
  padding: 6rem 5vw 5rem;
  display: flex;
  justify-content: center;
}

.legal-container {
  width: 100%;
  max-width: 720px;
}

.legal-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-badge {
  display: inline-block;
  background: rgba(139,92,246,0.12);
  color: var(--purple-lt);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  margin-bottom: 1.2rem;
}

.legal-title {
  font-family: 'Instrument Serif', serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: .6rem;
}
.legal-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--purple-lt), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-meta {
  font-size: .85rem;
  color: var(--muted);
}

/* ── Body content ── */
.legal-body {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.legal-section {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.legal-section h2 {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
}

.legal-section h3 {
  font-size: .9rem;
  font-weight: 600;
  color: var(--purple-lt);
  margin-top: .4rem;
}

.legal-section p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.75;
}

.legal-section ul {
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.legal-section ul li {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.65;
}

.legal-section strong {
  color: var(--white);
  font-weight: 600;
}

.legal-section a {
  color: var(--purple-lt);
  text-decoration: none;
}
.legal-section a:hover { text-decoration: underline; }

/* ── Footer nav ── */
.legal-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.legal-footer-nav a {
  font-size: .88rem;
  color: var(--purple-lt);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}
.legal-footer-nav a:hover { color: var(--pink); }

/* ── Mobile ── */
@media(max-width: 700px) {
  .legal-main { padding: 5.5rem 1.2rem 4rem; }
  .legal-title { font-size: 2rem; }
}
