/* Shared styles for static legal pages on eurocoeff.com */
:root {
  color-scheme: dark light;
  --bg: #0e1220;
  --bg-card: #141824;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --border: rgba(148, 163, 184, 0.18);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f8fafc;
    --bg-card: #ffffff;
    --text: #0f172a;
    --text-muted: #64748b;
    --accent: #0284c7;
    --border: rgba(15, 23, 42, 0.12);
  }
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}
.legal-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem);
}
.legal-shell .topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}
.legal-shell .topbar a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.legal-shell .topbar a:hover { text-decoration: underline; }
.legal-shell .lang-switch {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.legal-shell .lang-switch a {
  color: var(--text-muted);
  margin-left: 0.5rem;
}
.legal-shell h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.legal-shell h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.015em;
}
.legal-shell h3 {
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin: 1.25rem 0 0.5rem;
  color: var(--text);
}
.legal-shell p, .legal-shell li {
  color: var(--text);
  line-height: 1.7;
}
.legal-shell ul, .legal-shell ol {
  padding-left: 1.5rem;
}
.legal-shell li { margin-bottom: 0.5rem; }
.legal-shell a {
  color: var(--accent);
}
.legal-shell .meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.5rem 0 1.5rem;
}
.legal-shell .footer-row {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}
.legal-shell .footer-row a { color: var(--text-muted); }
.legal-shell strong { color: var(--text); }
