@font-face {
  font-family: "Plex Mono";
  src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/fonts/ibm-plex-mono-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #000;
  --paper: #fff;
  --muted: #8a8a8a;
  --line: #000;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Plex Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.5;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

main {
  flex: 1;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 18vh 16px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

h1 {
  margin: 0 0 56px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}

.btn[disabled] {
  opacity: 0.4;
  cursor: default;
}

.btn--ghost {
  background: var(--paper);
  color: var(--ink);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.people {
  width: 100%;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.person + .person {
  margin-top: 32px;
}

.person a {
  display: inline-block;
}

.mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding-left: 36px; /* gleicht das Kopier-Icon aus, damit die Adresse mittig steht */
  text-transform: none;
}

.mail a {
  overflow-wrap: anywhere;
}

.copy {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.copy svg {
  width: 14px;
  height: 14px;
}

.copy .icon-done {
  display: none;
}

.copy.is-done .icon-copy {
  display: none;
}

.copy.is-done .icon-done {
  display: block;
}

.divider {
  width: 100%;
  height: 1px;
  margin: 56px 0;
  border: 0;
  background: var(--ink);
}

/* Waitlist */

.back {
  align-self: flex-start;
  margin-bottom: 48px;
}

form {
  width: 100%;
  text-align: left;
}

.field + .field {
  margin-top: 16px;
}

label {
  display: block;
  margin-bottom: 6px;
}

.optional {
  color: var(--muted);
}

input[type="text"],
input[type="email"] {
  display: block;
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px; /* verhindert Auto-Zoom auf iOS */
  text-transform: none;
  -webkit-appearance: none;
  appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus {
  outline: 1px solid var(--ink);
  outline-offset: 0;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 28px 0 28px;
  text-transform: none;
  font-size: 12px;
  line-height: 1.6;
  cursor: pointer;
}

.consent input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.consent input:checked {
  background: var(--ink);
  box-shadow: inset 0 0 0 3px var(--paper);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.status {
  min-height: 1.5em;
  margin: 16px 0 0;
  text-align: center;
}

.done {
  width: 100%;
  text-align: center;
}

.done p {
  margin: 0 0 32px;
}

[hidden] {
  display: none !important;
}
