/* ============================================================================
 * PlainLogic newsletter signup — assets/css/subscribe.css
 *
 * Visual language matches the site: rounded cards (.card), the shared
 * .field/.button form primitives from lab.css, DM Mono micro-labels.
 * No animations here (reduced-motion is a no-op by construction).
 * ========================================================================== */

/* Visually-hidden honeypot field: real users never see it, bots fill it. */
.pl-hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* In-page submit status (aria-live region inside each form). */
.pl-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--muted);
}
.pl-status.is-ok {
  color: var(--ink);
  font-weight: 700;
}
.pl-status.is-error {
  color: var(--signal-text);
  font-weight: 600;
}

/* "Optional" marker next to the name label. */
.pl-optional {
  text-transform: none;
  letter-spacing: 0;
  opacity: .75;
  font-weight: 400;
}

/* What the list promises: compact, no emojis, no decoration. */
.pl-promise {
  list-style: none;
  margin: 14px 0 18px;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: .92rem;
  color: var(--ink);
}
.pl-promise li {
  padding-left: 20px;
  position: relative;
}
.pl-promise li::before {
  content: "–";
  position: absolute;
  left: 2px;
  color: var(--muted);
}

/* Consent line under the form CTA. */
.pl-consent {
  margin-top: 12px;
}

/* Success panel that replaces the form fields on signup. */
.pl-done {
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: var(--paper);
  padding: 16px 18px;
  margin-top: 14px;
}
.pl-done strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}
.pl-done p {
  margin: 0;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Footer brand-column signup line (dark strip) is styled in lab.css next to
   the other .foot-* rules, because the footer renders on pages that never
   load this stylesheet. */

/* "Get PlainLogic" card on section pages (Learn hub, Prompt Playbook). */
.get-plainlogic-card {
  max-width: 640px;
}
.get-plainlogic-card h2 {
  margin: 10px 0 8px;
}
