/* ===========================================
   LEGAL PAGES — Terms / Privacy / Refund
   =========================================== */

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 140px var(--gutter) 80px;
}

.legal-header {
  margin-bottom: 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-150);
}

.legal-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.legal-header h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-500);
}

.legal-content section {
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: var(--pure-black);
}

.legal-content p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-700);
  margin-bottom: 14px;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content a {
  color: var(--pure-black);
  border-bottom: 1px solid var(--gray-300);
  transition: border-color 0.2s ease;
}

.legal-content a:hover {
  border-bottom-color: var(--pure-black);
}

.legal-content strong {
  font-weight: 700;
  color: var(--pure-black);
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.legal-list li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-700);
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--pure-black);
  border-radius: 50%;
}

html.ar .legal-list li {
  padding: 6px 24px 6px 0;
}

html.ar .legal-list li::before {
  left: auto;
  right: 4px;
}

/* Callout box */
.legal-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 28px;
  background: var(--pure-black);
  color: var(--pure-white);
  border-radius: 16px;
  margin-bottom: 48px;
}

.legal-callout i {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.legal-callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pure-white);
  font-weight: 500;
}

/* ============ MOBILE ============ */
@media (max-width: 768px) {
  .legal-page {
    padding: 100px var(--gutter) 60px;
  }

  .legal-header {
    margin-bottom: 40px;
    padding-bottom: 28px;
  }

  .legal-header h1 {
    font-size: 38px;
  }

  .legal-content section {
    margin-bottom: 28px;
  }

  .legal-content h2 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .legal-content p {
    font-size: 13.5px;
    line-height: 1.7;
  }

  .legal-list li {
    font-size: 13px;
  }

  .legal-callout {
    padding: 18px 20px;
    border-radius: 12px;
    margin-bottom: 32px;
  }

  .legal-callout i {
    font-size: 18px;
  }

  .legal-callout p {
    font-size: 13px;
  }
}