/* Pages publiques de la newsletter KCO (NL §2.3, §2.5) — servies par le conteneur `web`.
   Palette du prototype Born (couleurs de l'Odoo du KCO). Aucune ressource externe (CSP du
   conteneur `web`) : police système. */

:root {
  --gold: #DFA400;
  --blue: #203878;
  --sand: #f5f4f0;
  --ink: #2e2714;
  --muted: #6f6a5c;
  --border: #e2ded2;
  --white: #ffffff;
  --ok: #2f7d3e;
  --ok-soft: #eef7f0;
  --bad: #b42318;
  --bad-soft: #fdf0ef;
  --warn: #b56a00;
  --warn-soft: #fdf3e6;
  --warn-text: #945600;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--sand);
}

main {
  max-width: 560px;
  margin: 32px auto 16px;
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 10px;
}

h1 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.25;
  color: var(--blue);
}

label {
  display: block;
  margin: 20px 0 6px;
  font-weight: 600;
}

input[type="email"] {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  border: 1px solid var(--muted);
  border-radius: 8px;
}

button {
  min-height: 44px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 600;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

button:disabled { opacity: .6; cursor: wait; }

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

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

.hinweis { color: var(--muted); font-size: 15px; }

.meldung {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
}

.meldung.ok { background: var(--ok-soft); color: var(--ok); }

.meldung.fehler { background: var(--bad-soft); color: var(--bad); }

/* /datenschutz (NL §9.2) : une ligne du Datenschutzhinweis = un intitulé + son texte. */
.hinweise dt { margin: 16px 0 2px; font-weight: 600; color: var(--blue); }

.hinweise dd { margin: 0; }

h2 { margin: 28px 0 6px; font-size: 18px; color: var(--blue); }

/* Champ piège (NL §2.3) : hors de l'écran, pas `display: none` — certains robots le sautent. */
.falle {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

footer {
  max-width: 560px;
  margin: 0 auto 32px;
  padding: 0 20px;
  font-size: 13px;
  color: var(--muted);
}

footer p { margin: 4px 0; }

/* Bandeau TESTBETRIEB (bauplan §3.5 n° 5) : toujours dans la page ; `/betrieb.css`, écrit par
   deploy.py depuis `betrieb`, ne le masque qu'en `live`. Couleurs de la console (§11.2). */
.testbetrieb {
  margin: 0;
  padding: 8px 16px;
  text-align: center;
  font-weight: 700;
  color: var(--warn-text);
  background: var(--warn-soft);
  border-bottom: 2px solid var(--warn);
}
