/* The Indie Pen Dispatch signup, appended to articles and guide hubs.
   Same plate language as the home page. Tokens come from tokens.css. */

.ipp-nl { margin: var(--s-9) 0 var(--s-7); clear: both; }

.ipp-nl * { box-sizing: border-box; }

.ipp-nl .ipp-nl-plate {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--s-7);
}

.ipp-nl .ipp-nl-title {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  font-family: var(--sans);
  font-size: var(--fs-13);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--rule-strong);
  margin-bottom: var(--s-5);
}
.ipp-nl .ipp-nl-title span:last-child {
  font-weight: 500; color: var(--ink-muted); letter-spacing: .02em; text-transform: none;
}

.ipp-nl h2 {
  font-family: var(--serif);
  font-size: var(--fs-30);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--navy);
  margin: 0;
  max-width: 24ch;
  text-wrap: balance;
}

.ipp-nl .ipp-nl-body {
  font-family: var(--serif);
  font-size: var(--fs-18);
  line-height: 1.55;
  color: var(--ink-muted);
  margin: var(--s-4) 0 0;
  max-width: 56ch;
}

.ipp-nl form { margin: var(--s-6) 0 0; }

.ipp-nl label {
  display: block;
  font-family: var(--sans);
  font-size: var(--fs-13);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-2);
}

.ipp-nl .form-row { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: stretch; }

.ipp-nl .form-row input[type="email"] {
  flex: 1 1 260px;
  min-width: 0;
  font-family: var(--sans);
  font-size: var(--fs-16);
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 13px 14px;
  line-height: 1.2;
}
.ipp-nl .form-row input[type="email"]:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
  border-color: var(--navy);
}

/* honeypot: off screen rather than display:none, which some fillers skip */
.ipp-nl .ipp-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; opacity: 0;
}

.ipp-nl .btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: var(--fs-16);
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--vermillion);
  background: var(--vermillion);
  color: var(--white);
  cursor: pointer;
  line-height: 1.2;
  transition: background .18s var(--ease-out), border-color .18s var(--ease-out);
}
.ipp-nl .btn:hover { background: var(--vermillion-deep); border-color: var(--vermillion-deep); }
.ipp-nl .btn[disabled] { opacity: .6; cursor: default; }

.ipp-nl .ipp-sub-msg {
  font-family: var(--sans);
  font-size: var(--fs-14);
  color: var(--navy);
  margin: var(--s-3) 0 0;
  min-height: 1.2em;
}
.ipp-nl .ipp-sub-msg:empty { margin: 0; min-height: 0; }

.ipp-nl .form-note {
  font-family: var(--sans);
  font-size: var(--fs-13);
  line-height: 1.5;
  color: var(--ink-muted);
  margin: var(--s-3) 0 0;
  max-width: 60ch;
}

@media (max-width: 600px) {
  .ipp-nl .ipp-nl-plate { padding: var(--s-5); }
  .ipp-nl .btn { width: 100%; }
}

/* The global Elementor kit styles bare `label` at a higher specificity than
   `.ipp-nl label`, which put the field label back into the serif. */
.ipp-nl .ipp-nl-plate form label {
  font-family: var(--sans);
  font-size: var(--fs-13);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.ipp-nl .ipp-nl-plate form .form-row input[type="email"],
.ipp-nl .ipp-nl-plate form .form-row button { font-family: var(--sans); }

.ipp-nl .ipp-nl-body b { font-weight: 600; color: var(--navy); }
