/* ═══════════════════════════════════════════════
   LEGAL PAGES — Privacy Policy, Cookie Policy
═══════════════════════════════════════════════ */

.legal-page {
  padding: 60px 0 96px;
  background: var(--c-bg);
}

.legal-page__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-page__title {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--c-white);
  margin: 0 0 16px;
}

.legal-page__updated {
  font-size: 14px;
  color: var(--c-text-muted);
  margin: 0 0 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-border);
}

.legal-page h2 {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--c-white);
  margin: 56px 0 18px;
}

.legal-page h3 {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--c-white);
  margin: 32px 0 12px;
}

.legal-page p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text-muted);
  margin: 0 0 18px;
}

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

.legal-page strong {
  color: var(--c-text);
  font-weight: 600;
}

.legal-page ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 18px;
  color: var(--c-text-muted);
}

.legal-page li {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-page li::marker {
  color: var(--c-accent);
}

.legal-page a {
  color: var(--c-accent);
  border-bottom: 1px solid rgba(255, 51, 102, 0.32);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.legal-page a:hover {
  color: var(--c-accent-light, #FF6688);
  border-bottom-color: var(--c-accent);
}

/* ── Tables ── */
.legal-page__table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 14px;
  background: var(--c-bg-2);
  border-radius: 8px;
  overflow: hidden;
}

.legal-page__table th,
.legal-page__table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
}

.legal-page__table thead th {
  background: var(--c-bg-3);
  color: var(--c-white);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-page__table tbody td {
  color: var(--c-text-muted);
  line-height: 1.6;
}

.legal-page__table tbody tr:last-child td {
  border-bottom: none;
}

/* ── Footer variant for legal pages ── */
.site-footer--legal .footer__inner {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding-block: 28px 22px;
}

/* ── Footer legal block (used site-wide) ── */
.footer__legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer__legal .footer__copy {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--c-text-muted);
}

.footer__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--c-text-muted);
}

.footer__links a {
  color: var(--c-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
}

.footer__links a:hover {
  color: var(--c-white);
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.footer__links a[aria-current="page"] {
  color: var(--c-accent);
}

.footer__links span[aria-hidden="true"] {
  color: var(--c-text-faint);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .legal-page { padding: 40px 0 64px; }
  .legal-page__inner { padding: 0 16px; }
  .legal-page__updated { margin-bottom: 36px; }
  .legal-page h2 { margin-top: 40px; }
  .legal-page__table {
    font-size: 13px;
  }
  .legal-page__table th,
  .legal-page__table td {
    padding: 10px 12px;
  }
}
