/* « Discuss your use case » form (contact-form.js). Site tokens with fallbacks for pages
   that do not define them; Archivo comes from the shared /assets/fonts/archivo.css. */
.talk-form {
  position: fixed; /* a page rule must not turn the modal into a scrolling box */
  inset: 0;
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid #DCD9D2;
  border-radius: 16px;
  color: var(--stone-900, #25231C);
  background: var(--paper, #FAF8F3);
  box-shadow: 0 24px 70px rgba(20, 20, 18, .22);
  font: 400 16px/1.5 var(--sans, 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif);
  text-align: left;
}
.talk-form::backdrop { background: rgba(20, 20, 18, .45); }
.talk-form-body { display: flex; flex-direction: column; gap: 6px; padding: 28px 28px 22px; }
.talk-form h2 { margin: 0 44px 0 0; font: 600 24px/1.25 var(--sans, 'Archivo', sans-serif); letter-spacing: -.01em; color: inherit; }
.talk-form-intro { margin: 2px 0 8px; color: #55524B; font-size: 16px; }
.talk-form-field { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.talk-form label { color: #3B3830; font-size: 14px; font-weight: 600; }
.talk-form input,
.talk-form textarea {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #CFCBC2;
  border-radius: 10px;
  color: inherit;
  background: #FFFFFF;
  font: inherit;
  font-size: 16px; /* 16px keeps phones from zooming into the field */
}
.talk-form textarea { min-height: 112px; resize: vertical; }
.talk-form input::placeholder,
.talk-form textarea::placeholder { color: #8A867D; }
.talk-form input:focus,
.talk-form textarea:focus { outline: 2px solid var(--action, #254EBC); outline-offset: 0; border-color: var(--action, #254EBC); }
.talk-form [aria-invalid="true"] { border-color: #A12828; }
.talk-form input:disabled,
.talk-form textarea:disabled { color: #68645C; background: #F3F1EC; }
.talk-form-error { margin: 0; color: #A12828; font-size: 14px; }
.talk-form-error[hidden] { display: none; }
.talk-form-trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.talk-form-status { margin: 6px 0 0; font-size: 15px; }
.talk-form-status:empty { display: none; }
.talk-form-status[data-state="error"] { color: #A12828; }
.talk-form-status[data-state="ok"] { color: #1E6B3E; font-weight: 600; }
.talk-form-actions { display: flex; justify-content: flex-end; margin-top: 10px; }
.talk-form-send {
  min-height: 44px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  color: var(--paper, #FAF8F3);
  background: var(--action, #254EBC);
  font: 600 16px/1 var(--sans, 'Archivo', sans-serif);
  cursor: pointer;
}
.talk-form-send:hover { background: var(--action-hover, #1439A6); }
.talk-form-send[disabled] { background: var(--action-disabled, #A1AEC8); cursor: default; }
.talk-form-send[hidden] { display: none; }
.talk-form-send:focus-visible,
.talk-form-close:focus-visible { outline: 2px solid var(--action, #254EBC); outline-offset: 2px; }
.talk-form-note { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #E6E2D9; color: #55524B; font-size: 14px; }
.talk-form-address { color: var(--stone-900, #25231C); font-weight: 600; user-select: all; }
.talk-form-note a { color: var(--action, #254EBC); text-decoration: underline; text-underline-offset: 2px; }
.talk-form-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: #55524B;
  background: transparent;
  font: 400 28px/1 var(--sans, 'Archivo', sans-serif);
  cursor: pointer;
}
.talk-form-close:hover { background: #EFECE5; color: var(--stone-900, #25231C); }
@media (max-width: 600px) {
  .talk-form-body { padding: 24px 18px 18px; }
  .talk-form h2 { font-size: 22px; }
  .talk-form-actions { justify-content: stretch; }
  .talk-form-send { width: 100%; }
}
