/* =========================================================
   SWAP BACKGROUND: change --bg-image to the real graphic,
   e.g.  --bg-image: url("/assets/background.jpg");
   --bg-color shows behind/until the image loads.
   ========================================================= */
:root {
  --bg-image: url("/assets/bg-placeholder.svg");
  --bg-color: #ff69b4;
  --accent: #c0375c;
  --text: #1a1a1a;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background-color: var(--bg-color);
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

/* Landing card */
.card {
  width: 100%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
}
.photo {
  display: block;
  width: 160px;
  height: 160px;
  max-width: 45vw;
  max-height: 45vw;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
}
h1 { margin: 0; font-size: clamp(2rem, 8vw, 2.6rem); letter-spacing: -0.02em; }
.soon { margin: 6px 0 20px; font-size: 1.15rem; color: #555; }

.signup { display: flex; flex-direction: column; text-align: left; gap: 6px; }
.signup label { font-size: 0.9rem; font-weight: 600; }
.signup input {
  font: inherit;
  font-size: 16px; /* prevents iOS zoom */
  padding: 10px 12px;
  border: 1px solid #bbb;
  border-radius: 8px;
  margin-bottom: 8px;
  width: 100%;
}
.signup button {
  font: inherit;
  font-weight: 600;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}
.signup button:disabled { opacity: 0.6; cursor: default; }
.msg { min-height: 1.2em; margin: 8px 0 0; font-size: 0.95rem; text-align: center; }
.msg.ok { color: #1b7a3a; }
.msg.err { color: #b00020; }

.foot { margin-top: 16px; font-size: 0.8rem; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.4); }

/* 404 page */
.wrap { background: rgba(255,255,255,0.92); border-radius: 16px; padding: 28px; text-align: center; }
.lede { color: #555; }
.wrap a { color: var(--accent); }
