/* Vansera AI — Legal-page typography (used by /privacy and /terms) */

.legal-page {
  padding: 140px 0 80px;
  position: relative;
  z-index: 1;
}

.legal-page .container {
  max-width: 880px;
}

.legal-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 16px;
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.legal-meta {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 36px;
}

.legal-callout {
  background: linear-gradient(135deg, rgba(99,102,241,0.07), rgba(168,85,247,0.04));
  border: 1px solid rgba(99,102,241,0.18);
  border-radius: var(--radius);
  padding: 22px 26px;
  font-size: 15px;
  color: #d1d5db;
  line-height: 1.7;
  margin-bottom: 56px;
}
.legal-callout strong { color: #fff; }

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 48px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.legal-page h2:first-of-type { border-top: none; padding-top: 0; }

.legal-page h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin: 28px 0 10px;
}

.legal-page p {
  color: #c4c4d4;
  font-size: 15.5px;
  line-height: 1.78;
  margin-bottom: 16px;
}
.legal-page p a, .legal-page li a {
  color: var(--accent-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(129,140,248,0.3);
  transition: border-color 0.2s, color 0.2s;
}
.legal-page p a:hover, .legal-page li a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.legal-page code {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #e7e7ef;
}

.legal-entity {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 14.5px;
  line-height: 1.85;
  color: #d1d5db;
  margin: 12px 0 22px;
}
.legal-entity strong { color: #fff; }

.legal-list {
  list-style: none;
  margin: 8px 0 22px;
  padding: 0;
}
.legal-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #c4c4d4;
}
.legal-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
}
.legal-list li strong { color: #fff; }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 28px;
  font-size: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.legal-table th, .legal-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.legal-table th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  background: rgba(99,102,241,0.06);
  letter-spacing: 0.02em;
}
.legal-table td {
  color: #c4c4d4;
  line-height: 1.6;
}
.legal-table tbody tr:last-child td { border-bottom: none; }
.legal-table tbody tr:hover { background: rgba(255,255,255,0.015); }

.legal-footnote {
  margin-top: 56px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--border);
  border-radius: 12px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
  font-style: italic;
}

@media (max-width: 640px) {
  .legal-page { padding: 110px 0 60px; }
  .legal-page h2 { font-size: 20px; }
  .legal-table { font-size: 13px; }
  .legal-table th, .legal-table td { padding: 10px 12px; }
}
