/* ============================================
   STILLWITHME — Legal Pages Stylesheet
   ============================================ */

.legal-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.legal-header {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--cream-dark);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--blush);
  font-weight: 500;
  margin-bottom: 24px;
  transition: gap 0.2s ease;
}
.back-link:hover { gap: 10px; }

.legal-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 16px;
}

.legal-meta {
  font-size: 0.8rem;
  color: var(--charcoal-light);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.legal-intro {
  font-size: 1.05rem;
  color: var(--charcoal-mid);
  line-height: 1.75;
  font-weight: 300;
  max-width: 640px;
}

/* ── TABLE OF CONTENTS ── */
.legal-toc {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-left: 3px solid var(--blush-light);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin-bottom: 48px;
}

.toc-title {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 14px;
}

.legal-toc ol {
  list-style: decimal;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-toc a {
  font-size: 0.9rem;
  color: var(--charcoal-mid);
  transition: color 0.2s ease;
}
.legal-toc a:hover { color: var(--blush); }

/* ── LEGAL BODY ── */
.legal-body {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.legal-body section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.3;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cream-dark);
}

.legal-body h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-top: 8px;
}

.legal-body p {
  font-size: 0.95rem;
  color: var(--charcoal-mid);
  line-height: 1.8;
  font-weight: 300;
}

.legal-body ul,
.legal-body ol {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-body ul li,
.legal-body ol li {
  font-size: 0.95rem;
  color: var(--charcoal-mid);
  line-height: 1.7;
  font-weight: 300;
  padding-left: 20px;
  position: relative;
}

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

.legal-body ol {
  list-style: decimal;
  padding-left: 20px;
}

.legal-body a {
  color: var(--blush);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-body a:hover { color: #b3737a; }

.legal-body strong {
  font-weight: 500;
  color: var(--charcoal);
}

/* ── HIGHLIGHT BOX ── */
.legal-highlight {
  background: var(--blush-pale);
  border: 1px solid var(--blush-light);
  border-left: 3px solid var(--blush);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}

.legal-highlight p {
  font-size: 0.9rem;
  color: var(--charcoal);
  margin: 0;
  line-height: 1.6;
}

/* ── CONTACT BLOCK ── */
.legal-contact {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
}

.legal-contact p {
  line-height: 2 !important;
  margin: 0 !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .legal-page {
    padding: 100px 20px 60px;
  }

  .legal-body h2 {
    font-size: 1.4rem;
  }

  .legal-toc {
    padding: 20px;
  }
}