/* The site's text pages (support, confidentialité, presse) in the landing's
   art direction (landing/src/app/globals.css, mobile/docs/direction-artistique.md):
   pure black, Funnel Display, white for what matters, glass for surfaces. */

:root {
  --bg: #000;
  --ink: #fff;
  --soft: rgb(255 255 255 / 0.62);
  --faint: rgb(255 255 255 / 0.4);
  --line: rgb(255 255 255 / 0.1);
  --glass: rgb(255 255 255 / 0.06);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--bg); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Funnel Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: rgb(255 255 255 / 0.9); color: #000; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px 80px; }

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0;
  margin-bottom: 48px;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }

nav a { color: rgb(255 255 255 / 0.7); text-decoration: none; font-weight: 500; font-size: 15px; margin-left: 22px; transition: color 0.2s; }
nav a:hover, nav a[aria-current='page'] { color: var(--ink); }

h1 { font-size: 56px; line-height: 1.04; font-weight: 600; margin: 0 0 16px; letter-spacing: -0.035em; text-wrap: balance; }
h2 { font-size: 30px; line-height: 1.1; font-weight: 600; margin: 56px 0 12px; letter-spacing: -0.03em; }
h3 { font-size: 18px; font-weight: 600; margin: 28px 0 4px; letter-spacing: -0.01em; }
p, li { color: var(--soft); }
strong { color: var(--ink); font-weight: 600; }
.lede { font-size: 20px; line-height: 1.5; color: var(--soft); margin: 0 0 32px; }
.updated { color: var(--faint); font-size: 14px; margin: 0 0 32px; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.3); text-underline-offset: 4px; transition: text-decoration-color 0.2s; }
a:hover { text-decoration-color: var(--ink); }
ul { padding-left: 22px; }

.hero { text-align: center; padding: 24px 0 8px; }
.hero img { width: 120px; height: 120px; border-radius: 28px; }
.hero h1 { margin-top: 24px; }

.card { background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); border-radius: 24px; padding: 22px 24px; margin: 20px 0; }
.card h3 { margin-top: 0; color: var(--ink); }
.card p { margin: 6px 0 0; }

footer.site { border-top: 1px solid var(--line); margin-top: 64px; padding-top: 24px; color: var(--faint); font-size: 14px; }
footer.site a { color: var(--faint); }

@media (max-width: 560px) {
  .wrap { padding: 0 16px 64px; }
  header.site { flex-wrap: wrap; gap: 14px; padding: 20px 0; margin-bottom: 32px; }
  header.site nav { display: flex; flex-wrap: wrap; gap: 6px 18px; width: 100%; }
  h1 { font-size: 40px; }
  h2 { font-size: 26px; margin-top: 44px; }
  .lede { font-size: 18px; }
  nav a { margin-left: 0; font-size: 14px; }
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  color: var(--ink);
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 8px;
  padding: 1px 7px;
  white-space: nowrap;
}

table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
th, td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--soft); }
th { color: var(--ink); font-weight: 600; }
