/* ══════════════════════════════════════════════
   LEGAL / SUPPORT PAGES — ElfAi Design System
   ══════════════════════════════════════════════ */

/* Hero */
.legal-hero {
  padding: 180px 24px 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.legal-hero h1 {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.legal-hero .updated {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.legal-hero .subtitle {
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}

.legal-hero .company {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
  font-weight: 500;
}

/* Content */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.legal h2 {
  font-size: 18px;
  font-weight: 800;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.3px;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 14px;
  line-height: 1.8;
}

.legal ul {
  padding-left: 20px;
  list-style: none;
}

.legal li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 10px;
}

.legal li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.legal strong {
  color: var(--text);
  font-weight: 700;
}

.legal a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.legal a:hover {
  opacity: 0.8;
}

/* Tables */
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  border-radius: 12px;
  overflow: hidden;
}

.legal th,
.legal td {
  text-align: left;
  padding: 14px 18px;
  font-size: 14px;
}

.legal th {
  color: var(--text);
  font-weight: 700;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.legal td {
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.legal tr:last-child td {
  border-bottom: none;
}

/* Contact Box */
.contact-box {
  margin-top: 24px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
}

.contact-box p {
  margin-bottom: 8px;
}

.contact-box a {
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
}

.contact-box .label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}

/* Simple Footer for Legal Pages */
.legal-footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}

.legal-footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.legal-footer-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

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

.legal-footer-copy {
  color: var(--muted);
  font-size: 12px;
  opacity: 0.5;
}

/* Back to Home link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s;
}

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