:root {
  --bg: #f9f9f9;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #6b7280;
  --accent: #5b6af0;
  --accent-hover: #4554e0;
  --border: #e5e7eb;
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f0f;
    --surface: #1c1c1e;
    --text: #f2f2f7;
    --muted: #8e8e93;
    --border: #2c2c2e;
  }
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding: 2rem 1rem;
}

.container {
  max-width: 680px;
  margin: 0 auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.app-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
}

.brand h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lang-switch {
  display: flex;
  gap: 0.25rem;
  background: var(--border);
  padding: 3px;
  border-radius: 8px;
}

.lang-switch button {
  background: none;
  border: none;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.15s;
}

.lang-switch button.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.75rem;
  margin-bottom: 1rem;
}

.card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.faq-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.faq-item p {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  margin-top: 0.75rem;
  transition: background 0.15s;
}

.contact-email:hover {
  background: var(--accent-hover);
}

footer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 3rem;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

/* Privacy page */
.prose h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.prose p, .prose li {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.prose ul {
  padding-left: 1.25rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

[data-lang="en"] { display: none; }
[data-lang="fr"] { display: block; }
