:root {
  --green: #8cc63f;
  --bg: #0a0f0a;
  --text: #f2f5f0;
  --muted: rgba(242, 245, 240, 0.72);
}

* { box-sizing: border-box; margin: 0; }

body {
  min-height: 100vh;
  font-family: "Kumbh Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
}

/* --- Background video + overlay --- */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 5, 0.65);
  z-index: -1;
}

/* --- Split-panel layout --- */
.layout {
  min-height: 100vh;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  flex-wrap: wrap;
}

.intro { flex: 1 1 380px; }

.logo {
  width: 220px;
  max-width: 60%;
  margin-bottom: 40px;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 16px;
}

h2 { font-weight: 600; }

input, button { font-family: inherit; }

.intro p {
  color: var(--muted);
  font-size: 1.1rem;
}

/* --- Signup card --- */
.card {
  flex: 0 1 400px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.card h2 { margin-bottom: 20px; }

label {
  display: block;
  font-size: 0.85rem;
  margin: 14px 0 6px;
  color: var(--muted);
}

.req { color: var(--green); }
.opt { opacity: 0.6; font-size: 0.75rem; }

input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-size: 1rem;
}

input:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: transparent;
}

button {
  width: 100%;
  margin-top: 22px;
  padding: 13px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #10180a;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

button:hover { filter: brightness(1.08); }
button:disabled { opacity: 0.6; cursor: wait; }

.form-message {
  min-height: 1.2em;
  font-size: 0.9rem;
  margin-top: 12px;
}

.form-message.is-error { color: #ff8a80; }

.thanks h2 { color: var(--green); }
.thanks p { color: var(--muted); margin-top: 8px; }

/* --- Mobile: stack panels --- */
@media (max-width: 820px) {
  .layout {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 40px;
  }
  .logo { margin: 0 auto 28px; }
  .card { width: 100%; text-align: left; }
}
