/* Legal pages (/accessibility, /imprint, /data-protection) + the new
   global site footer used everywhere. Reuses dashboard.css tokens. */

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

.legal-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 32px 36px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text);
}

.legal-card h2 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 24px 0 8px;
  color: var(--text);
}

.legal-card h2:first-child { margin-top: 0; }

.legal-card p {
  margin: 0 0 14px;
}

.legal-card ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal-card li {
  margin: 0 0 4px;
}

.legal-card a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* ---------- global site footer ---------- */

.site-footer {
  /* override the loose existing footer rules so the legal bar reads
     as a thin strip across the bottom of every page. */
  max-width: none !important;
  margin: 32px 0 0 !important;
  padding: 0 !important;
  border-top: 1px solid var(--line);
  background: #fafbff;
}

.site-footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 6vw 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  font-size: 12.5px;
  color: var(--muted);
}

.site-footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
}

.site-footer-muted { color: var(--muted); font-weight: 500; }

.site-footer-sep {
  color: var(--line);
  margin: 0 4px;
}

.site-footer-license a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out);
}

.site-footer-license a:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

.site-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.site-footer-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out);
}

.site-footer-links a:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

.site-footer-version {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .site-footer-version { margin-left: 0; }
}
