/* The look these pages share with arkeion-secure.com.
 *
 * The tokens are copied from the site's index.css rather than invented: a
 * customer arriving here from a mail must land on the same product, and
 * two palettes that are nearly the same read as a phishing page rather
 * than as a brand.
 *
 * NO EXTERNAL REQUEST, and that is a decision, not an omission. The site
 * self-hosts Inter; these pages could pull it from a font CDN in one line.
 * They do not: somebody types a password here, on a product sold on the
 * absence of third parties in the way, and calling one to draw the letters
 * would contradict the page it is drawing. Inter is used when the visitor
 * already has it, and the system face otherwise.
 */

:root {
  color-scheme: dark;
  --base: #0c0d10;
  --surface: #14161b;
  --raised: #1c1f26;
  --filet: #2a2e37;
  --accent: #6fb8c9;
  --accent-sourd: #4d8b99;
  --encre: #e6e8ec;
  --sourdine: #9aa1ad;
  --alerte: #e07a6a;
  --bien: #7fc9a4;
  --largeur: 460px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 32px 16px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--base);
  color: var(--encre);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------ la marque */

.marque {
  width: 100%;
  max-width: var(--largeur);
  display: flex;
  align-items: center;
  gap: 10px;
}

.marque svg { width: 30px; height: 30px; flex: none; display: block; }

.marque b {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ------------------------------------------------------------- la carte */

.card {
  width: 100%;
  max-width: var(--largeur);
  background: var(--surface);
  border: 1px solid var(--filet);
  border-radius: 14px;
  padding: 28px 26px 26px;
}

h1 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p.info {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--sourdine);
}

/* --------------------------------------------------------- le formulaire */

label {
  display: block;
  margin: 16px 0 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--sourdine);
}

input,
textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--raised);
  border: 1px solid var(--filet);
  border-radius: 9px;
  color: var(--encre);
  font: inherit;
  font-size: 14px;
}

textarea { min-height: 130px; resize: vertical; }

input::placeholder,
textarea::placeholder { color: #656b76; }

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

input:focus,
textarea:focus { border-color: var(--accent-sourd); }

input:disabled {
  color: var(--sourdine);
  background: #171920;
}

button {
  width: 100%;
  margin-top: 22px;
  padding: 11px 14px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 9px;
  color: #0b1418;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

button:hover:not(:disabled) { background: #85c6d5; border-color: #85c6d5; }
button:disabled { opacity: 0.45; cursor: default; }

/* ------------------------------------------------------------- les suites */

.msg {
  margin-top: 16px;
  font-size: 13.5px;
}

/* Coloured AND prefixed: a message that only differs by hue says nothing
   to a colour-blind reader, and nothing at all when read aloud. */
.msg.error { color: var(--alerte); }
.msg.success { color: var(--bien); }
.msg.error::before { content: "\26A0\FE0E  "; }
.msg.success::before { content: "\2713  "; }

p.privacy {
  margin: 16px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--sourdine);
}

/* --------------------------------------------------------- les mentions */

.mentions {
  width: 100%;
  max-width: var(--largeur);
  padding-top: 2px;
  font-size: 10.5px;
  line-height: 1.6;
  color: #6b7280;
  text-align: center;
}

.mentions a {
  color: #7d8592;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.mentions a:hover { color: var(--sourdine); border-bottom-color: #414751; }

.mentions .sep { opacity: 0.5; padding: 0 5px; }

.mentions .lignes { margin-top: 4px; }

@media (prefers-reduced-motion: no-preference) {
  button, .mentions a { transition: background-color 120ms, color 120ms, border-color 120ms; }
}
