/* Shared contact form refinements. Existing layout, palette and motion own the surface. */
html body #cta .cta-step p,
html body #cta .uf-alt-top p,
html body #cta .uf-promise,
html body #cta .uf-alt-stat-l,
html body #cta .uf-alt-meta,
html body .uf-form .uf-privacy,
html body .uf-form .uf-status,
html body .uf-form .uf-err {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: normal;
  text-transform: none;
  color: var(--fg-2);
}

html body .uf-form .uf-privacy {
  margin: 0 0 16px;
  max-width: 65ch;
}

html body .uf-form .uf-privacy a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: .2em;
}

html body .uf-form .uf-status {
  margin: 16px 0 0;
}

html body .uf-form .uf-status.is-error {
  color: var(--fg);
  border-left: 2px solid var(--warn);
  padding: 12px 16px;
  background: var(--bg);
}
html body .uf-form .uf-status-message:empty { display: none; }
html body .uf-form .uf-status-recovery { display: none; }
html body .uf-form .uf-status.is-error .uf-status-message::before { content: "! "; font-weight: 700; }
html body .uf-form .uf-status.is-error .uf-status-recovery {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: .2em;
}
html body .uf-form .uf-status:has(.uf-status-message:empty) { display: none; }

html body .uf-form .uf-actions { margin-top: auto; }

html body .uf-form :is(.uf-label,.uf-tpill,.uf-bpill,.uf-ch-tab) {
  font-size: .875rem;
  color: var(--fg-2);
  letter-spacing: .03em;
}

html body .uf-form .uf-more summary {
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--fg-2);
  text-transform: none;
  letter-spacing: normal;
}

html body #cta .uf-alt-meta { flex-wrap: wrap; }
html body #cta .uf-meta-chunk + .uf-meta-chunk::before { content: "· "; }
html body #cta .uf-meta-chunk { white-space: nowrap; }

html body .uf-form :is(.uf-status,.uf-err):empty {
  display: none;
}

html body .uf-form .uf-err:not(:empty) {
  display: block;
  margin-top: 8px;
  color: var(--danger, var(--fg));
}

html body #cta .uf-alt-title {
  font-family: var(--font-display);
  font-size: var(--ds-title-article);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--ds-title-card-ls);
  margin: 12px 0;
  text-wrap: balance;
}

html body .uf-form :is(.uf-tpill,.uf-bpill,.uf-ch-tab) {
  min-height: 44px;
}

html body .uf-form :is(input,textarea) {
  font-size: 1rem;
}

html body .uf-form :is(button,input,textarea,summary,a):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

html body .uf-form .uf-ch-tab.is-active {
  color: var(--bg);
}
html body .uf-form :is(.uf-tpill,.uf-bpill).is-on { color: var(--bg); }

@media (max-width: 480px) {
  html body #cta .uf-form,
  html body #cta .uf-alt { padding: 24px; }
  html body #cta .uf-alt-meta { overflow-wrap: normal; }
  html body #cta .uf-alt-meta { display: grid; grid-template-columns: 8px minmax(0,1fr); }
  html body #cta .uf-alt-dot { grid-column: 1; grid-row: 1; }
  html body #cta .uf-meta-chunk { grid-column: 2; }
  html body #cta .uf-meta-chunk + .uf-meta-chunk::before { content: none; }
}
