/* ============================================================
   Yuca Intl LLC — Shared Legal Stylesheet
   Loaded by privacy.html and terms-of-service.html only
   ============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.legal-page {
  background-color: #FBF7F2;
  color: #1F1B16;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.legal-page a {
  color: #E85D4F;
  text-decoration: none;
}

.legal-page a:hover {
  text-decoration: underline;
}

/* ---------- Header (must be div/header, not section) ---------- */
.legal-header {
  background: linear-gradient(135deg, #2A2520 0%, #3A3229 100%);
  padding: 84px 24px 60px;
  text-align: center;
}

.legal-header .legal-breadcrumb {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FF8E7A;
  margin-bottom: 16px;
}

.legal-header .legal-breadcrumb a {
  color: #FF8E7A;
}

.legal-header h1 {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.legal-header .legal-meta {
  color: #CFC8BE;
  font-size: 0.92rem;
}

/* ---------- Content ---------- */
.legal-content {
  padding: 60px 0 40px;
}

.legal-content .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-content section {
  background-color: transparent !important;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1F1B16;
  letter-spacing: -0.01em;
  margin: 48px 0 16px;
  padding-top: 8px;
}

.legal-content h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: #1F1B16;
  margin: 26px 0 10px;
}

.legal-content p {
  color: #4A4238;
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 18px 24px;
  color: #4A4238;
}

.legal-content li {
  margin-bottom: 8px;
}

/* ---------- Table of contents ---------- */
.legal-toc {
  background: #FFFFFF;
  border: 1px solid #E4DACA;
  border-radius: 14px;
  padding: 26px 28px;
  margin-bottom: 44px;
}

.legal-toc h2 {
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #E85D4F;
}

.legal-toc ol {
  list-style: none;
  margin: 0;
  column-count: 1;
}

.legal-toc li {
  margin-bottom: 8px;
}

.legal-toc a {
  color: #4A4238;
  font-size: 0.95rem;
}

.legal-toc a:hover {
  color: #E85D4F;
}

/* ---------- Section body styling ---------- */
.legal-section {
  scroll-margin-top: 24px;
}

/* ---------- Footer ---------- */
.legal-footer {
  background: #2A2520;
  padding: 40px 24px;
  text-align: center;
  margin-top: 40px;
}

.legal-footer .container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-footer p {
  color: #A79E92;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.legal-footer a {
  color: #FF8E7A;
  font-weight: 600;
}

.legal-footer .legal-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.legal-footer .legal-nav a {
  color: #CFC8BE;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .legal-header {
    padding: 70px 20px 44px;
  }
}
