/* ── Beehiiv form overrides ─────────────────────────────────── */

/* Strip the fixed 400px width so it fills the card */
#subscribe-form {
  width: 100% !important;
}

/* Row wrapper: warm background + amber border */
#subscribe-form > div:first-of-type {
  background-color: #fffbf0 !important;
  border-color: #dfc87a !important;
  border-radius: 8px !important;
  width: 100% !important;
  transition: box-shadow 0.15s;
}

#subscribe-form > div:first-of-type:focus-within {
  box-shadow: 0 0 0 3px rgba(232, 184, 75, 0.25);
}

/* Email input */
#form_email {
  background-color: #fffbf0 !important;
  color: #1a1a1a !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 0.95rem !important;
}

/* Placeholder colour — scoped style in the embed overrides this,
   so we re-declare at a higher specificity layer */
#form_email::placeholder {
  color: #b8ab90 !important;
}

/* Submit button — swap black for amber */
#submit-button {
  background-color: #c99a20 !important;
  border-color: #c99a20 !important;
  color: #fff !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  border-radius: 0 6px 6px 0 !important;
  transition: background-color 0.15s !important;
  white-space: nowrap;
}

#submit-button:hover {
  background-color: #b5891a !important;
  border-color: #b5891a !important;
}

#submit-button:active {
  transform: scale(0.97);
}

/* Error message */
#form-error-message {
  font-size: 0.82rem !important;
  color: #b94a2c !important;
  margin-top: 0.25rem;
}

/* ── Beehive overrides — capture section ───────────────────── */

/* Section background */
.capture {
  background: linear-gradient(180deg, #fdf6e3 0%, var(--paper) 100%);
}

/* Card shell */
.capture-card {
  position: relative;
  background: #fffbf0;
  border: 1.5px solid #e8b84b;
  border-top: 3px solid #c99a20;
  border-radius: 10px;
  overflow: hidden;
}

/* Tiled honeycomb pattern overlay */
.capture-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='32'%3E%3Cpolygon points='18,2 32,10 32,22 18,30 4,22 4,10' fill='none' stroke='%23e8b84b' stroke-width='0.7' opacity='0.3'/%3E%3C/svg%3E");
  background-size: 36px 32px;
  pointer-events: none;
  z-index: 0;
}

.capture-card > * {
  position: relative;
  z-index: 1;
}

/* "Early access" tag */
.capture-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a06b0d;
  margin-bottom: 0.8rem;
}

/* Heading */
.capture-card h2 {
  color: #2a1a00;
  margin-bottom: 0.45rem;
}

/* Subtext */
.capture-card > p {
  color: #6b5020;
  margin-bottom: 1.25rem;
}
