.lpn-card {
  --lpn-accent: #a83559;
  box-sizing: border-box;
  width: 100%;
  max-width: 38rem;
  margin: 1.5rem auto;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid #ead7dc;
  border-top: 4px solid var(--lpn-accent);
  border-radius: 1.25rem;
  background: #fffaf6;
  color: #382b31;
  box-shadow: 0 12px 36px rgb(89 44 60 / 7%);
  font-family: inherit;
  line-height: 1.6;
}

.lpn-card *,
.lpn-card *::before,
.lpn-card *::after {
  box-sizing: border-box;
}

.lpn-card h2,
.lpn-card h3,
.lpn-heading {
  margin: 0 0 0.75rem;
  color: #492633;
  font-family: inherit;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.lpn-intro {
  margin: 0 0 1.5rem;
  color: #625159;
}

.lpn-eyebrow {
  margin: 0 0 0.8rem;
  color: #832545;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.lpn-form .lpn-fineprint {
  margin: 1rem 0 0;
  color: #625159;
  font-size: 0.8rem;
  line-height: 1.6;
}

.lpn-form {
  position: relative;
  margin: 0;
  padding: 0;
}

.lpn-form p,
.lpn-form .lpn-field {
  margin: 0 0 1.1rem;
}

.lpn-form label {
  display: block;
  margin: 0 0 0.4rem;
  color: #382b31;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

.lpn-form input[type="email"],
.lpn-form input[type="text"] {
  display: block;
  width: 100%;
  min-height: 3rem;
  margin: 0.4rem 0 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #bba4ac;
  border-radius: 0.65rem;
  background: #fff;
  color: #382b31;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.lpn-form input::placeholder {
  color: #78656e;
  opacity: 1;
}

.lpn-form .lpn-consent,
.lpn-form label:has(input[type="checkbox"]) {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.25rem 0 1.4rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.6;
}

.lpn-form input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0.15rem 0 0;
  accent-color: #8b2b4d;
}

.lpn-form .lpn-consent label {
  margin: 0;
  font-size: inherit;
  font-weight: 400;
}

.lpn-card a {
  color: #832545;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.lpn-card a:hover {
  color: #551a2e;
}

.lpn-form button[type="submit"],
.lpn-form button:not([type]),
.lpn-form input[type="submit"] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 3.1rem;
  margin: 0;
  padding: 0.8rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 0.65rem;
  background: var(--lpn-accent);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms ease, box-shadow 150ms ease;
}

.lpn-form button[type="submit"]:hover,
.lpn-form button:not([type]):hover,
.lpn-form input[type="submit"]:hover {
  background: var(--lpn-accent);
  filter: brightness(0.9);
  box-shadow: 0 4px 12px rgb(112 33 61 / 16%);
}

.lpn-form button:disabled,
.lpn-form input[type="submit"]:disabled {
  background: #785463;
  cursor: wait;
  box-shadow: none;
}

.lpn-card a:focus-visible,
.lpn-form input:focus-visible,
.lpn-form button:focus-visible {
  outline: 3px solid #492633;
  outline-offset: 3px;
}

.lpn-feedback {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.lpn-feedback:empty {
  margin: 0;
}

.lpn-feedback[data-state="success"] {
  padding: 0.85rem 1rem;
  border: 1px solid #91b1a0;
  border-radius: 0.65rem;
  background: #eef5ef;
  color: #244735;
}

.lpn-feedback[data-state="error"] {
  padding: 0.85rem 1rem;
  border: 1px solid #c6919e;
  border-radius: 0.65rem;
  background: #fff0f2;
  color: #79243d;
}

.lpn-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 480px) {
  .lpn-card {
    margin: 1rem auto;
    border-radius: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lpn-form button,
  .lpn-form input[type="submit"] {
    transition: none;
  }
}

@media (forced-colors: active) {
  .lpn-card,
  .lpn-form input,
  .lpn-form button,
  .lpn-feedback {
    border: 1px solid CanvasText;
  }
}
