/* ============================================================
   Legal pages · Privacy · Terms · Contact
   Inherits everything from styles.css. Adds only what's needed
   for long-form legal reading + a clean contact block.
   ============================================================ */

.legal-shell {
  padding: 140px 0 120px;
  min-height: 100vh;
}

.legal-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-40);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-08);
  margin-bottom: 28px;
}

.legal-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 20px;
}

.legal-lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 0 16px;
}

.legal-updated {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  color: var(--text-faint);
  margin: 0 0 64px;
  letter-spacing: 0.02em;
}

.legal-body {
  max-width: 780px;
}

.legal-body h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 64px 0 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.legal-body h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin: 32px 0 12px;
}

.legal-body p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 20px;
}

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

.legal-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal-body a:hover { text-decoration-thickness: 2px; }

/* Scope: contact cards + buttons + social pills are NOT inline links, don't underline */
.legal-body a.contact-card,
.legal-body a.contact-card *,
.legal-body .contact-socials a,
.legal-body a.btn,
.legal-body a.btn * {
  text-decoration: none;
}

/* Primary button on legal pages must keep its dark-on-yellow contrast */
.legal-body a.btn-primary {
  color: var(--accent-text);
}
.legal-body a.btn-primary:hover {
  color: var(--accent-text);
}

.legal-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.legal-body ul li {
  position: relative;
  padding-left: 24px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.legal-body ul li::before {
  content: '·';
  position: absolute;
  left: 8px;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.4;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  margin-top: 80px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  transition: all 0.2s;
}
.legal-back:hover {
  color: var(--accent);
  border-color: var(--accent-40);
  background: var(--accent-08);
}

/* ================= CONTACT PAGE ================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 780px;
  margin: 0;
}

@media (min-width: 720px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-card.full { grid-column: 1 / -1; }
}

.contact-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-card:hover {
  background: var(--surface-2);
  border-color: var(--accent-40);
  transform: translateY(-2px);
}

.contact-card .label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.contact-card .value {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  word-break: break-word;
}
.contact-card:hover .value { color: var(--accent); }

.contact-card .note {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 4px;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.contact-socials a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}
.contact-socials a:hover {
  color: var(--accent);
  border-color: var(--accent-40);
  background: var(--accent-08);
}
