.ern-newsletter {
  --ern-bg: #080b13;
  --ern-accent: #ff9f00;
  --ern-text: #ffffff;
  --ern-muted: #a0aec0;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  color: var(--ern-text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ern-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ern-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ern-input {
  width: 100%;
  min-height: 56px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: var(--ern-bg);
  color: var(--ern-text);
  font: inherit;
  font-size: 16px;
}

.ern-input:focus {
  outline: 2px solid #0075ff;
  outline-offset: 2px;
  border-color: #0075ff;
}

.ern-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ern-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

.ern-consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--ern-accent);
  flex: 0 0 auto;
}

.ern-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 16px 28px;
  border: 0;
  border-radius: 8px;
  background: var(--ern-accent);
  color: #080b13;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.ern-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.ern-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.ern-trust {
  margin: 12px 0 0;
  color: var(--ern-muted);
  font-size: 13px;
  font-style: italic;
  text-align: center;
}

.ern-notice {
  margin-bottom: 18px;
  padding: 13px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.ern-success {
  border: 1px solid rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.12);
}

.ern-error {
  border: 1px solid rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.12);
}

.ern-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 480px) {
  .ern-input,
  .ern-button {
    min-height: 52px;
  }
}
