/* ============================================================
   legal.css — shared styles for the standalone legal pages
   (privacy.html, terms.html, disclaimer.html).
   A centred "lightbox" reading panel on the dark brand ground.
   Relies on the design tokens + @font-face declared in styles.css,
   which each legal page also links.
   ============================================================ */

.legal-page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 24px 120px;
  background: var(--obsidian);
}

/* The lightbox card */
.legal-box {
  width: 100%;
  max-width: 760px;
  background: rgba(15, 15, 18, 0.7);
  border: 1px solid rgba(184, 147, 90, 0.25);
  border-radius: 2px;
  padding: 64px 56px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Header — small logo lockup + title */
.legal-header {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--graphite);
}
.legal-logo {
  display: inline-block;
  margin-bottom: 28px;
}
.legal-logo img {
  width: 150px;
  height: auto;
  display: block;
}
.legal-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.02em;
  color: var(--ivory);
  margin: 0 0 10px;
}
.legal-updated {
  font-family: 'Inter Tight', sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}

/* ============================================================
   Body copy — PASTE YOUR TEXT inside .legal-content in each file.
   These rules style the common elements you may use:
   <h2> section headings, <p> paragraphs, <ul>/<ol> lists, <a> links.
   ============================================================ */
.legal-content {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(244, 236, 216, 0.84);
}
.legal-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--gold-light);
  margin: 40px 0 14px;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content h3 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-muted);
  margin: 28px 0 10px;
}
.legal-content p {
  margin: 0 0 18px;
}
.legal-content ul,
.legal-content ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.legal-content li {
  margin-bottom: 8px;
}
.legal-content a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 300ms var(--ease);
}
.legal-content a:hover {
  color: var(--ivory);
}
.legal-content strong {
  color: var(--ivory);
  font-weight: 500;
}

/* Footer of the box — back to home */
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--graphite);
  font-family: 'Inter Tight', sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory-muted);
  text-decoration: none;
  transition: color 300ms var(--ease);
}
.legal-back:hover {
  color: var(--gold-light);
}
.legal-back svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 640px) {
  .legal-page {
    padding: 56px 16px 80px;
  }
  .legal-box {
    padding: 40px 24px;
  }
  .legal-content {
    font-size: 14px;
  }
}
