/* ============================================================
   Creato, Legal pages shared styles (privacy, ToS, impressum)
   ============================================================ */

/* Push content below the fixed nav */
.legal-main {
  padding-top: 96px;
  padding-bottom: 96px;
  background: #fafafa;
  min-height: 100vh;
}

.legal-container {
  max-width: 780px;
}

.legal-container--narrow {
  max-width: 640px;
}

/* ── Header ── */
.legal-header {
  margin-bottom: 48px;
}

.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #9ca3af;
  margin-bottom: 20px;
}

.legal-breadcrumb a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s;
}

.legal-breadcrumb a:hover { color: #9333ea; }

.legal-breadcrumb span { color: #d1d5db; }

.legal-header h1 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
  margin-bottom: 10px;
  line-height: 1.15;
}

.legal-meta {
  font-size: 0.875rem;
  color: #6b7280;
}

/* ── Body ── */
.legal-body {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 48px 52px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.05);
}

.legal-lead {
  font-size: 1.0625rem;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid #f3f4f6;
}

.legal-body h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-body h2:first-of-type { margin-top: 0; }

.legal-body h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #374151;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-body p {
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 14px;
}

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

.legal-body ul, .legal-body ol {
  padding-left: 20px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }

.legal-body li {
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.7;
}

.legal-body a {
  color: #9333ea;
  text-decoration: underline;
  text-decoration-color: rgba(147,51,234,0.3);
  text-underline-offset: 3px;
  transition: color 0.15s, text-decoration-color 0.15s;
}

.legal-body a:hover {
  color: #7c2dca;
  text-decoration-color: rgba(124,45,202,0.5);
}

.legal-body strong { color: #374151; }

/* Table (used in privacy policy) */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.875rem;
}

.legal-table th {
  text-align: left;
  padding: 10px 14px;
  background: #f9f5ff;
  color: #374151;
  font-weight: 700;
  border-bottom: 2px solid #ede9fe;
}

.legal-table th:first-child { border-radius: 8px 0 0 0; }
.legal-table th:last-child  { border-radius: 0 8px 0 0; }

.legal-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f3f4f6;
  color: #4b5563;
  vertical-align: top;
  line-height: 1.55;
}

.legal-table tr:last-child td { border-bottom: none; }
.legal-table tr:hover td { background: #fafafa; }

/* Impressum specific */
.impressum-block {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #f3f4f6;
}

.impressum-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.impressum-block h2 {
  margin-top: 0;
  color: #111827;
}

.legal-note {
  font-size: 0.8125rem !important;
  color: #9ca3af !important;
  font-style: italic;
}

.impressum-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.875rem;
  color: #c2410c;
  font-weight: 500;
  margin-top: 32px;
  line-height: 1.55;
}

.impressum-note svg {
  flex-shrink: 0;
  margin-top: 1px;
}

/* Marketing / audience pages (creators, agencies, brands) */
.audience-section {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid #f3f4f6;
}

.audience-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.audience-section h2 {
  margin-top: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .legal-main { padding-top: 80px; padding-bottom: 64px; }
  .legal-body  { padding: 28px 24px; }
  .legal-container { max-width: 100%; }
  .legal-table { font-size: 0.8125rem; }
  .legal-table th, .legal-table td { padding: 8px 10px; }
}
