/* ============================================================
   DAEM — listmonk PUBLIC PAGES styling.
   Paste into listmonk admin → Settings → Appearance → Public → Custom CSS.
   Brands every subscriber-facing page (subscription form, double opt-in
   confirm, unsubscribe / manage preferences, success & error messages,
   archive) to match daem-app.com — paper #efece4 / ink #17160f, rust accent.
   Loads after listmonk's bundled stylesheet, so these rules win.

   No external web fonts (DSGVO/GDPR): nothing is loaded from Google. The
   font-family stacks name the brand fonts first (used only if the visitor has
   them installed) and otherwise fall back to the system sans-serif.
   ============================================================ */

/* ---- page canvas ---- */
body {
  background: #e7e3d9 !important;
  color: #3a382f !important;
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- card ---- */
.container.wrap {
  max-width: 460px;
  margin: 34px auto;
  padding: 34px 30px 30px;
  background: #efece4;
  border: 1px solid rgba(23, 22, 15, 0.10);
  border-radius: 18px;
  box-shadow: 0 24px 60px -30px rgba(23, 22, 15, 0.45);
}

/* ---- header / logo ---- */
.header { text-align: center; margin-bottom: 20px; border: 0; }
.logo { justify-content: center; }
.logo img { max-width: 132px; height: auto; }
/* if no logo image is set, the site name renders as text here */
.logo a { font-family: 'Bricolage Grotesque', 'Arial Black', Arial, sans-serif; font-weight: 800; color: #17160f; letter-spacing: 0.02em; }

/* ---- type ---- */
h1, h2, h3 {
  font-family: 'Bricolage Grotesque', 'Arial Black', Arial, sans-serif;
  color: #17160f;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
h1 { font-size: 27px; margin: 0 0 12px; }
h2 { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: #8b887e; font-weight: 700; margin: 18px 0 8px; }
p { color: #3a382f; }
a { color: #d8501e; text-underline-offset: 2px; }
a:hover { color: #b8420f; }

/* ---- form fields ---- */
.form label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #8b887e;
  margin: 0 0 6px;
}
.form input[type="email"],
.form input[type="text"],
.form input[type="password"] {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 15px;
  border: 1px solid rgba(23, 22, 15, 0.18);
  border-radius: 12px;
  background: #fbfaf6;
  color: #17160f;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form input[type="email"]:focus,
.form input[type="text"]:focus,
.form input[type="password"]:focus {
  border-color: #17160f;
  background: #ffffff;
}
.form p { margin: 0 0 16px; }

/* ---- list checkboxes ---- */
.lists { list-style: none; padding: 0; margin: 14px 0 8px; }
.lists li { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; }
.lists input[type="checkbox"] { margin-top: 3px; accent-color: #17160f; width: 16px; height: 16px; flex: none; }
.lists label { color: #3a382f; font-size: 15px; }

/* honeypot — keep hidden */
.nonce { position: absolute !important; left: -5000px !important; }

/* ---- primary button ---- */
.button, button[type="submit"], input[type="submit"] {
  display: block;
  width: 100%;
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  background: #17160f;
  color: #efece4;
  font-family: 'Bricolage Grotesque', 'Arial Black', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 18px;
  margin-top: 6px;
  transition: background 0.2s ease, transform 0.12s ease;
}
.button:hover, button[type="submit"]:hover, input[type="submit"]:hover { background: #000; }
.button:active, button[type="submit"]:active { transform: translateY(1px); }

/* secondary / inline links row */
.right { text-align: center; }
.right a { color: #8b887e; font-size: 13px; }

/* ---- footer ---- */
footer.container {
  text-align: center;
  color: #a8a496;
  font-size: 12px;
  padding: 18px 0 30px;
}
footer.container a { color: #8b887e; text-decoration: underline; }
