/* V3.2 safe first-contact form refinements. */

.form-guidance {
  margin: -4px 0 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.form-guidance strong {
  color: var(--ink);
  font-weight: 600;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-consent span {
  line-height: 1.55;
}

.form-consent a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.form-consent a:hover,
.form-consent a:focus-visible {
  color: var(--terracotta);
}

.form-privacy-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 620px) {
  .form-guidance {
    margin-bottom: 18px;
    font-size: 12px;
  }
}


.field-flag {
  display: inline-block;
  margin-inline-start: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.field-required {
  color: var(--terracotta);
}

.field-optional {
  color: var(--muted);
  font-weight: 500;
}

.form-success-panel {
  min-height: 290px;
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid color-mix(in srgb, var(--sage) 42%, transparent);
  border-radius: 2px;
  background: color-mix(in srgb, var(--sage-light) 58%, var(--paper));
  display: flex;
  flex-direction: column;
  justify-content: center;
  outline: none;
}

.form-success-panel[hidden] {
  display: none;
}

.form-success-panel h3 {
  max-width: 520px;
  margin: 8px 0 14px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.05;
}

.form-success-panel > p:last-child {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
