/* StackPilot Guides email-capture strip, self-contained, scoped under .sp-capture */

.sp-capture {
  background: #0f1318;
  color: #e8eaee;
  padding: 40px 20px;
}

.sp-capture-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.sp-capture-copy {
  flex: 1 1 380px;
}

.sp-capture-id {
  font-family: ui-monospace, 'IBM Plex Mono', 'Source Code Pro', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3fc1e8;
  margin: 0 0 8px;
}

.sp-capture-copy h2 {
  font-family: inherit;
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 10px;
  color: #e8eaee;
}

.sp-capture-copy p {
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(232, 234, 238, 0.66);
  margin: 0;
}

.sp-capture-form {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sp-capture-form label {
  font-family: inherit;
  font-size: 13px;
  color: rgba(232, 234, 238, 0.66);
}

.sp-capture-form input[type="email"] {
  font-family: inherit;
  font-size: 15px;
  color: #e8eaee;
  background: #171c23;
  border: 1px solid rgba(232, 234, 238, 0.14);
  border-radius: 2px;
  padding: 10px 12px;
  width: 100%;
  box-sizing: border-box;
}

.sp-capture-form input[type="email"]:focus {
  outline: 3px solid #3fc1e8;
  outline-offset: 1px;
}

.sp-capture-form button:focus {
  outline: 3px solid #3fc1e8;
  outline-offset: 1px;
}

.sp-capture-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.sp-capture-form button {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #0f1318;
  background: #3fc1e8;
  border: none;
  border-radius: 2px;
  padding: 11px 16px;
  cursor: pointer;
  width: 100%;
}

.sp-capture-msg {
  font-family: inherit;
  font-size: 14px;
  color: rgba(232, 234, 238, 0.66);
  margin: 0;
  min-height: 0;
}

.sp-capture-msg:empty {
  display: none;
}

.sp-capture-msg a {
  color: #3fc1e8;
}

.sp-capture-fine {
  font-family: inherit;
  font-size: 12px;
  color: rgba(232, 234, 238, 0.66);
  margin: 0;
}

.sp-capture-fine a {
  color: #3fc1e8;
}

@media (max-width: 760px) {
  .sp-capture-wrap {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-capture,
  .sp-capture * {
    transition: none;
    animation: none;
  }
}
