/* Standalone stylesheet for the static legal pages (mentions-legales,
   confidentialite). They live in /public and are served outside the Vite
   build, so they cannot reuse index.css — this mirrors its tokens. */

:root {
  --bg: #050506;
  --fg: #ffffff;
  --fg-1: rgba(255, 255, 255, 0.9);
  --fg-2: rgba(255, 255, 255, 0.68);
  --fg-3: rgba(255, 255, 255, 0.48);
  --line: rgba(255, 255, 255, 0.09);
  --font-display: 'Clash Display', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Satoshi', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', monospace;
}

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

html {
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  transition: text-decoration-color 0.25s ease;
}
a:hover {
  text-decoration-color: #fff;
}

:where(a):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(3rem, 9vh, 6rem) clamp(1.4rem, 5vw, 2.5rem) 6rem;
}

.legal__back {
  display: inline-block;
  margin-bottom: 2.5rem;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-3);
  text-decoration: none;
}
.legal__back:hover {
  color: var(--fg);
}

.legal__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 0.9rem;
}

h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--fg);
}

.legal__lead {
  margin-top: 1.2rem;
  color: var(--fg-2);
  font-size: 1.02rem;
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: var(--fg);
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

p,
ul {
  margin-top: 1rem;
  color: var(--fg-2);
}

ul {
  padding-left: 1.1rem;
}
li {
  margin-top: 0.35rem;
}

strong {
  color: var(--fg-1);
  font-weight: 500;
}

dl {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: minmax(160px, 34%) 1fr;
  gap: 0.55rem 1.4rem;
}
dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding-top: 3px;
}
dd {
  color: var(--fg-1);
}

/* placeholders Jérémy still has to fill in — deliberately loud */
.legal__todo {
  color: #ffb4b4;
  font-family: var(--font-mono);
  font-size: 13px;
}

.legal__foot {
  margin-top: 4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-3);
}

@media (max-width: 560px) {
  dl {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
  dd {
    margin-bottom: 0.9rem;
  }
}
