/**
 * Drypp beta tester signup — hero email form (dryppapp.no / dryppapp.com).
 * Scoped class prefix: hero-beta-
 */

#beta-test {
  scroll-margin-top: calc(var(--header-h, 82px) + 1.25rem);
}

.hero-beta-signup {
  margin: 0 0 1.35rem;
  max-width: 28rem;
}

@media (max-width: 960px) {
  .hero-beta-signup {
    margin-inline: auto;
  }
}

.hero-beta-badge {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #14532d;
  background: #bbf7d0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.hero-beta-fields {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

@media (min-width: 520px) {
  .hero-beta-fields {
    flex-direction: row;
    align-items: stretch;
  }
}

.hero-beta-form input[type="email"] {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.97);
  color: #0f172a;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-beta-form input[type="email"]::placeholder {
  color: #64748b;
}

.hero-beta-form input[type="email"]:focus {
  outline: none;
  border-color: #fff;
  box-shadow:
    0 12px 40px rgba(15, 23, 42, 0.2),
    0 0 0 3px rgba(255, 255, 255, 0.35);
}

.hero-beta-submit {
  flex-shrink: 0;
  padding: 0.85rem 1.15rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(22, 163, 74, 0.45);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.hero-beta-submit:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.hero-beta-submit:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hero-beta-submit:disabled {
  opacity: 0.72;
  cursor: wait;
}

.hero-beta-fineprint {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
}

@media (max-width: 960px) {
  .hero-beta-fineprint {
    text-align: center;
  }
}
