/* Contact feedback stays inside its existing column without moving the fields. */
.mc-contact-form { display: grid; }
.mc-contact-body, .mc-contact-success { grid-area: 1 / 1; min-width: 0; }
.mc-contact-form[data-contact-state="success"] .mc-contact-body { display: none; }
.mc-contact-form [hidden] { display: none !important; }
.mc-contact-form .mc-contact-success {
  align-self: center;
  padding: 24px 0;
  color: var(--ds-ink);
}
.mc-contact-check { display: block; margin-bottom: 24px; color: var(--ds-blue); }
.mc-contact-check circle { stroke: #c4d3f4; fill: #eef3ff; }
.mc-contact-check path { stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mc-contact-success h3 {
  margin: 0 0 12px;
  font: 500 clamp(1.5rem, 2.2vw, 1.875rem)/1.2 var(--ds-display);
  letter-spacing: -.035em;
}
.mc-contact-success p { margin: 0; font: 400 1rem/1.6 var(--ds-body); color: var(--ds-muted); }
.mc-contact-again {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  max-width: 100%;
  min-height: 44px;
  margin-top: 24px;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid #b9c9ed;
  border-radius: 0;
  background: transparent;
  color: var(--ds-blue);
  font: 500 .875rem/1.5 var(--ds-body);
  text-align: left;
  cursor: pointer;
}
.mc-contact-again:hover { border-color: currentColor; }
.mc-contact-again:focus-visible { outline: 2px solid var(--ds-blue); outline-offset: 6px; }
.mc-contact-success:focus { outline: none; }
.mc-contact-form .mc-contact-error {
  margin: 18px 0 0;
  padding: 12px 16px;
  border-left: 2px solid #a8592b;
  background: #fff5eb;
  color: #6b341c;
  font: 400 .875rem/1.6 var(--ds-body);
  overflow-wrap: anywhere;
}
.mc-contact-error:focus-visible { outline: 2px solid #a8592b; outline-offset: 3px; }
.mc-contact-form button[type="submit"] { min-width: min(174px, 100%); max-width: 100%; box-sizing: border-box; }
.mc-contact-button-text { display: inline-grid; min-width: 0; }
.mc-contact-button-text > span { grid-area: 1 / 1; }
.mc-contact-button-text > span[aria-hidden] { visibility: hidden; }
.mc-contact-form button[type="submit"]:disabled { cursor: wait; opacity: .75; transform: none; }
.mc-contact-progress { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
