:root {
  --bg: #faf7f2;
  --text: #1f1f1f;
  --muted: #5f5f5f;
  --line: rgba(31, 31, 31, 0.14);
  --accent: #708c75;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;

  background-color: var(--bg);
  background-image: url("bg2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center; /* vertical centering */
  color: var(--text);

  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* soft warm veil over photo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(248, 244, 236, 0.86); /* warm + light */
  pointer-events: none;
  z-index: 0;
}

main {
  width: 60%;
  max-width: 900px !important;
  margin: 0 auto;
  padding: 24px;
  position: relative;
  z-index: 1;
}

/* ---- Typography ---- */

h1 {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(2.1rem, 3.2vw, 2.65rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 14px 0;
}

.tagline {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.support {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 2.6rem;
}

.subtext {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0.35rem;
}

.subtext.secondary {
  font-size: 0.88rem;
  color: #777;
  margin-bottom: 2.4rem;
}

/* ---- Form ---- */

form {
  margin-top: 8px;
}

input[type="email"] {
  width: 100%;
  padding: 14px 2px;
  font-size: 0.98rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  outline: none;
  margin-bottom: 22px;
}

input[type="email"]::placeholder {
  color: rgba(31, 31, 31, 0.45);
}

input[type="email"]:focus {
  border-bottom-color: rgba(112, 140, 117, 0.7);
}

button {
  appearance: none;
  background: var(--accent);
  color: #ffffff;
  border: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

button:hover {
  background: #5f7f67;
}

button:active {
  transform: translateY(1px);
}

/* ---- Mobile ---- */

@media (max-width: 520px) {
  button {
    width: 100%;
  }
}
