/* Thierno Ousmane Sow - Policies
   Shared stylesheet: light, minimal, max-width 800px
   -------------------------------------------------- */

:root {
  --bg: #ffffff;
  --surface: #fafafa;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #1d4ed8;
  --accent-soft: #eff6ff;
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 48px 20px 64px;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: 800px;
  margin: 0 auto;
}

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

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */

h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h2 {
  margin: 32px 0 8px;
  font-size: 1.0625rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 14px;
}

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

li {
  margin-bottom: 6px;
}

b,
strong {
  font-weight: 600;
}

.subtitle {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* "Dernière mise à jour : ..." line on the policy pages */
p i,
p em {
  color: var(--muted);
  font-style: italic;
}

/* ---------- Home link list ---------- */

.list {
  display: grid;
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.item:hover {
  border-color: #d1d5db;
  background: var(--surface);
  text-decoration: none;
}

.item .icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}

.item .icon svg {
  width: 19px;
  height: 19px;
  display: block;
}

.item .meta {
  min-width: 0;
}

.item .label {
  display: block;
  font-weight: 500;
  line-height: 1.4;
}

.item .hint {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.item .ext {
  margin-left: auto;
  flex: 0 0 auto;
  color: #9ca3af;
  font-size: 0.8125rem;
}

/* ---------- Footer / back links ---------- */

footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}

footer p {
  margin: 0 0 6px;
}

.back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.875rem;
}

.back:hover {
  color: var(--accent);
  text-decoration: none;
}

@media (max-width: 480px) {
  body {
    padding: 32px 16px 48px;
    font-size: 15px;
  }

  h1 {
    font-size: 1.3125rem;
  }

  .item {
    padding: 12px 14px;
    gap: 12px;
  }
}
