/* Legal pages (/conditions, /confidentialite, /mentions-legales, /regles): the landing's
   palette and type, sized for the app's in-app browser. */
:root {
  color-scheme: light;
  --bg: #faf8f5;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --accent: #8b2942;
  --rule: #e8e4de;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-wrap: break-word;
}
main,
footer {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1rem 0;
}
footer {
  padding-bottom: 3rem;
}
.brand {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.brand a {
  color: var(--muted);
  text-decoration: none;
}
h1 {
  font-size: clamp(1.5rem, 6vw, 2.25rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
h2 {
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.3;
  margin: 2rem 0 0.5rem;
}
h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.25rem;
}
p,
ul {
  margin: 0 0 0.75rem;
}
ul {
  padding-left: 1.25rem;
}
li + li {
  margin-top: 0.25rem;
}
.meta {
  font-size: 0.875rem;
  color: var(--muted);
}
.notice {
  font-size: 0.875rem;
  color: var(--muted);
  font-style: italic;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1.25rem;
}
a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover {
  text-decoration-thickness: 2px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1rem;
  font-size: 0.9375rem;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 1px solid var(--rule);
}
th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
footer nav {
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer li + li {
  margin-top: 0.5rem;
}
footer a[aria-current="page"] {
  color: var(--muted);
  text-decoration: none;
}

/* Phone: each table row becomes a card, every cell labelled by its column. */
@media (max-width: 34rem) {
  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  table,
  tbody,
  tr,
  td {
    display: block;
  }
  tr {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--rule);
  }
  td {
    border: 0;
    padding: 0.125rem 0;
  }
  td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
  }
}
