/* Jetons repris de l'app : indigo unique, neutres, densité calme. */
:root {
  color-scheme: light dark;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #14161b;
  --ink-secondary: #56606f;
  --hairline: #e3e6ec;
  --accent: #4f46e5;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0e14;
    --surface: #141922;
    --ink: #f2f4f8;
    --ink-secondary: #aeb7c6;
    --hairline: #232a36;
    --accent: #a5b0ff;
  }
}

* { box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--accent); }

header nav {
  font-size: 15px;
  margin-bottom: 40px;
}

h1 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 21px;
  margin: 48px 0 12px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 16px;
  margin: 28px 0 8px;
}

p, li { color: var(--ink-secondary); }

.lead {
  font-size: 18px;
  margin-bottom: 32px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0;
}

.card ul { margin: 4px 0 0; padding-left: 20px; }
.card li { margin: 3px 0; }

pre {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 20px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}

button {
  font: inherit;
  font-size: 15px;
  color: #fff;
  background: #4f46e5;
  border: 0;
  border-radius: 10px;
  padding: 10px 18px;
  cursor: pointer;
}

button:disabled { opacity: 0.6; cursor: default; }

ol.steps { padding-left: 20px; }
ol.steps li { margin: 6px 0; }

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
}

.cta {
  margin: 28px 0 32px;
  font-size: 17px;
}

.cta a {
  display: inline-block;
  background: #4f46e5;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  padding: 12px 20px;
}
