:root {
  --bg: #1a1410;
  --text: #e8e0d0;
  --muted: #8c8275;
  --border: #3a2f25;
  --accent: #c9a96a;

  --serif: 'Cormorant Garamond', Garamond, 'Adobe Garamond Pro', 'Hoefler Text', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

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

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  display: flex;
  align-items: safe center;
  justify-content: center;
  padding: 4rem 1.5rem;
  min-height: 100vh;
}

.page {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* ── Inscription ─────────────────────────────────────────────── */

.inscription {
  text-align: center;
}

.inscription h1 {
  font-weight: 600;
  font-size: clamp(8rem, 8vw, 9.5rem);
  line-height: 1;
  margin-bottom: 1.85rem;
}

.inscription .subhead {
  font-size: 1.1rem;
  color: var(--muted);
}

/* ── Manifesto ────────────────────────────────────────────────── */

.manifesto p {
  font-size: 1.125rem;
  line-height: 1.75;
  font-weight: 400;
}

/* ── CTA ─────────────────────────────────────────────────────── */

.cta {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cta-line {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

.signup {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

.signup:focus-within {
  border-bottom-color: var(--accent);
}

.signup input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.75rem 0;
}

.signup input::placeholder {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.85rem;
  opacity: 0.7;
}

.signup button {
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 0.5rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.signup button:hover,
.signup button:focus-visible {
  color: var(--accent);
  transform: translateX(2px);
  outline: none;
}

.signup-status {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Outils footer ───────────────────────────────────────────── */

.outils {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.outils p {
  font-family: var(--sans);
  font-size: 0.65rem;
  line-height: 1.6;
  color: var(--muted);
}

.outils em {
  color: var(--text);
  font-weight: 500;
  font-style: normal;
}

/* ── Small screens ───────────────────────────────────────────── */

@media (max-width: 540px) {
  body {
    padding: 3rem 1.25rem;
  }

  .page {
    gap: 3rem;
  }

  .manifesto p {
    font-size: 1.05rem;
  }
}
