/* ============================================================
   Mind Fox — Legal / Privacy Policy Page CSS
   ============================================================ */

.mf-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.mf-reveal.is-visible { opacity: 1; transform: translateY(0); }

.mf-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

/* ── HERO ───────────────────────────────────────────────── */
.lg-hero {
  position: relative;
  padding: calc(var(--section-padding) + 80px) 0 clamp(40px, 6vw, 72px);
  background: var(--bg-primary);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.lg-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 20% 50%, rgba(255, 123, 28, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.lg-hero__content {
  position: relative;
}

.lg-hero__content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.lg-hero__meta {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.lg-body {
  padding: clamp(40px, 7vw, 80px) 0 var(--section-padding);
  background: var(--bg-secondary);
}

.lg-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: start;
}

/* ── TOC ────────────────────────────────────────────────── */
.lg-toc {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.lg-toc__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.lg-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  counter-reset: toc;
}

.lg-toc__list li { counter-increment: toc; }

.lg-toc__list a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 5px 8px;
  border-radius: 6px;
  transition: all var(--transition);
  line-height: 1.4;
}

.lg-toc__list a::before {
  content: counter(toc, decimal-leading-zero);
  font-size: 0.65rem;
  color: var(--orange);
  flex-shrink: 0;
}

.lg-toc__list a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}

/* ── CONTENT ────────────────────────────────────────────── */
.lg-content {
  min-width: 0;
}

.lg-section {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.lg-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.lg-section h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-top: 4px;
}

.lg-section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 20px 0 10px;
}

.lg-section p {
  font-size: 0.95rem;
  line-height: 1.78;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.lg-section p:last-child { margin-bottom: 0; }

.lg-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lg-section ul li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

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

.lg-link {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 123, 28, 0.3);
  transition: border-color var(--transition);
}
.lg-link:hover { border-color: var(--orange); }

/* Contact box */
.lg-contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.lg-contact-box__row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.92rem;
}

.lg-contact-box__label {
  font-weight: 700;
  color: var(--text-muted);
  min-width: 80px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 992px) {
  .lg-layout { grid-template-columns: 180px 1fr; gap: 40px; }
  .lg-toc { top: 80px; }
}

@media (max-width: 768px) {
  .lg-layout { grid-template-columns: 1fr; gap: 28px; }
  .lg-toc { position: static; }
  .lg-hero__content h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .lg-hero { padding: calc(var(--section-padding) + 40px) 0 clamp(32px, 5vw, 56px); }
  .lg-section h2 { font-size: 1.15rem; }
  .lg-section p, .lg-section ul li { font-size: 0.92rem; }
}

@media (max-width: 480px) {
  .lg-section { padding-bottom: 24px; margin-bottom: 24px; }
  .lg-section h2 { font-size: 1.05rem; }
  .lg-section h3 { font-size: 0.88rem; }
  .lg-section p, .lg-section ul li { font-size: 0.85rem; }
  .lg-contact-box { padding: 16px 14px; }
  .lg-contact-box__row { flex-direction: column; gap: 4px; }
  .lg-toc { padding: 16px; }
  .lg-toc__list a { font-size: 0.75rem; padding: 4px 6px; }
  .lg-hero__content h1 { font-size: clamp(1.3rem, 6vw, 1.8rem); }
  .lg-body { padding: clamp(28px, 5vw, 60px) 0 var(--section-padding); }
}

@media (max-width: 375px) {
  .lg-section h2 { font-size: 1rem; }
  .lg-section p, .lg-section ul li { font-size: 0.8rem; }
  .lg-contact-box { padding: 12px 10px; }
  .lg-toc__list a { font-size: 0.7rem; padding: 3px 4px; }
  .lg-hero__content h1 { font-size: clamp(1.1rem, 6vw, 1.5rem); }
}
