/*
 * early-access.css — the light post-reveal email capture (U8).
 *
 * Mounts at the #early-access anchor under the hero reel. Reuses the house tokens
 * (--accent/--card/--line…) defined by crew-feed.css / reveal.css, so it sits in the same
 * visual language as the reel. Mobile-first: stacks on small screens, goes inline on wider ones.
 *
 * Deliberately quiet — this is secondary to the demo, not a funnel wall.
 */

.ea-form {
  max-width: 560px;
  margin: 26px auto 8px;
  background: var(--card, #fffbf4);
  border: 1px solid var(--line, #e6ddcd);
  border-radius: 16px;
  padding: 20px 22px;
  text-align: center;
  box-shadow: var(--shadow-card, 0 8px 24px rgba(43, 39, 34, 0.06));
}

.ea-lead {
  font-family: var(--font-display, Georgia, serif);
  font-optical-sizing: auto;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink, #2b2722);
}

.ea-sub {
  margin: 6px 0 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted, #8a8175);
}

/* Mobile-first: stack the field over the button, full width. */
.ea-row {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ea-input {
  flex: 1 1 auto;
  width: 100%;
  font: inherit;
  font-size: 16px; /* 16px so iOS doesn't zoom on focus */
  border: 1px solid var(--line, #e6ddcd);
  border-radius: 11px;
  padding: 12px 14px;
  background: var(--surface-sunken, #f1e9db);
  color: var(--ink, #2b2722);
  outline: none;
  transition: 0.15s;
}
.ea-input:focus {
  border-color: var(--clay, #c5613a);
  background: var(--surface, #fffbf4);
  box-shadow: 0 0 0 3px rgba(197, 97, 58, 0.18);
}
.ea-input:disabled {
  opacity: 0.6;
}

.ea-btn {
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  border: 0;
  border-radius: 11px;
  padding: 12px 22px;
  background: var(--clay-deep, #a44e2d);
  color: #fffbf4;
  cursor: pointer;
  transition: 0.15s;
  white-space: nowrap;
}
.ea-btn:hover:not(:disabled) {
  filter: brightness(0.95);
}
.ea-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

/* The honeypot: present in the DOM (so bots fill it) but invisible + unreachable for humans.
 * Not display:none — some bots skip non-rendered fields — but pulled fully off-screen. */
.ea-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ea-status {
  min-height: 1.2em;
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--muted, #8a8175);
}
.ea-status--success {
  color: var(--pine, #1f6f54);
  font-weight: 700;
}
.ea-status--invalid,
.ea-status--error {
  color: var(--danger, #c0392b);
}

/* Wider screens: field + button on one line. */
@media (min-width: 520px) {
  .ea-row {
    flex-direction: row;
    align-items: stretch;
  }
  .ea-btn {
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ea-input,
  .ea-btn {
    transition: none;
  }
}
