/*
 * CrowdCrew-Aussehen fuer Listmonks oeffentliche Seiten
 * (Bestaetigung, Abmeldung, Archiv).
 *
 * Liegt produktiv in der Listmonk-Einstellung `appearance.public.custom_css`
 * und wird nach Listmonks eigenem style.css geladen — deshalb genuegen
 * gleichrangige Selektoren, kein !important noetig.
 *
 * Der Weg ueber die Einstellung ist bewusst gewaehlt: Er ueberlebt jedes
 * Listmonk-Update, waehrend eine ueberschriebene Vorlagendatei bei jeder
 * neuen Fassung nachgepflegt werden muesste.
 *
 * Werte aus ../../website/src/styles/tokens.css. Anders als in den Mails
 * duerfen hier echte Schriften geladen werden — das ist eine Webseite.
 */
@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=Manrope:wght@400;600;700&display=swap");

body {
  background: #000;
  color: #f5f2ea;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  line-height: 22px;
  -webkit-font-smoothing: antialiased;
}

.container {
  margin: 64px auto 15px auto;
  max-width: 560px;
}

.wrap {
  background: linear-gradient(180deg, #15151a, #0e0e12);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  padding: 40px;
  box-shadow: none;
}

.header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding-bottom: 22px;
  margin-bottom: 28px;
}
.header .logo img {
  max-width: 176px;
}

h1,
h2,
h3,
h4 {
  font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f5f2ea;
  text-wrap: pretty;
}
h1 { font-size: 36px; line-height: 40px; }
h2 { font-size: 24px; line-height: 29px; }
h3 { font-size: 18px; line-height: 23px; }

p,
li {
  color: #c9c4cf;
  text-wrap: pretty;
}

label {
  color: #95909f;
}

a {
  color: #ffb020;
  text-decoration: none;
  text-decoration-color: currentColor;
}
a:hover {
  color: #f5f2ea;
  text-decoration: underline;
}

/* Fehlermeldungen im Pink der Marke, nicht im Signalrot von Listmonk. */
.error {
  color: #ff5d8f;
}

.small {
  color: #95909f;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 14px 16px;
  color: #f5f2ea;
  box-shadow: none;
}
input::placeholder {
  color: #807c88;
}
input:focus,
select:focus {
  border-color: #ffb020;
  outline: none;
}

.button {
  background: #ffb020;
  color: #0a0a0c;
  border-radius: 14px;
  padding: 14px 28px;
  min-width: 0;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
}
.button:hover {
  background: #ffc457;
  color: #0a0a0c;
}

.button.button-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f5f2ea;
}
.button.button-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  color: #f5f2ea;
}

.lists .description,
.archive .date {
  color: #95909f;
}

.unsub-all {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

/*
 * Die Fusszeile steht so in Listmonks Vorlage und laesst sich ohne
 * Dateiueberschreibung nicht umschreiben — nur ersetzen: Text auf 0
 * setzen, Verweis ausblenden, eigene Zeile nachstellen.
 */
footer.container {
  font-size: 0;
  color: transparent;
  margin-top: 26px;
}
footer.container a {
  display: none;
}
footer.container::after {
  content: "CrowdCrew · gemeinsam hin, gemeinsam feiern";
  display: block;
  font-size: 13px;
  line-height: 18px;
  color: #95909f;
}

@media screen and (max-width: 650px) {
  .container {
    margin-top: 28px;
  }
  .wrap {
    padding: 28px 22px;
    border-radius: 22px;
  }
  h1 { font-size: 30px; line-height: 34px; }
}
