/* The footer's "Contact us" row (#contact, a Contact Form 7 form; bin/setup-contact-form.php) and the line under the
   Questions tab that leads to it. Loaded after design.css; scoped to body.au-el. Dark fields on the footer colour, the
   send button in the design's primary button style (gradient pill with the round arrow). */

html body.au-el .ft .ftc { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 48px 120px; align-items: start; padding-block: 112px 96px; }
html body.au-el .ft .ftc + .wrap { border-top: 1px solid rgba(255, 255, 255, .14); }
html body.au-el .ft .ftc .eyebrow { color: rgba(255, 255, 255, .85); }
html body.au-el .ft .ftc .eyebrow .bar { background: #CE8FFF; }
html body.au-el .ft .ftc h2 { color: #fff; }
html body.au-el .ft .ftc-p p { margin-top: 20px; font-size: 18px; line-height: 24px; color: rgba(255, 255, 255, .85); }
html body.au-el .ft .ftc-more p { margin-top: 24px; font-size: 16px; line-height: 20px; }
html body.au-el .ft .ftc-more a { color: #CE8FFF; text-underline-offset: 4px; }

/* the form */
html body.au-el .au-cf { display: flex; flex-direction: column; gap: 20px; }
html body.au-el .au-cf .au-cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
html body.au-el .au-cf .wpcf7-form-control-wrap { display: block; }
html body.au-el .ft .au-cf .f > span { color: rgba(255, 255, 255, .75); }
html body.au-el .ft .au-cf .f > span b { color: #FF9B9B; }
html body.au-el .ft .au-cf .f input, html body.au-el .ft .au-cf .f textarea {
  width: 100%; height: 52px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; outline: none;
  background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-size: 16px; appearance: none; -webkit-appearance: none;
}
html body.au-el .ft .au-cf .f textarea { height: auto; min-height: 128px; padding: 14px 16px; line-height: 22px; resize: vertical; }
html body.au-el .ft .au-cf .f input::placeholder, html body.au-el .ft .au-cf .f textarea::placeholder { color: rgba(255, 255, 255, .4); }
html body.au-el .ft .au-cf .f input:focus, html body.au-el .ft .au-cf .f textarea:focus { border-color: #CE8FFF; box-shadow: 0 0 0 3px rgba(206, 143, 255, .22); }
html body.au-el .ft .au-cf .f .wpcf7-not-valid { border-color: #FF9B9B; }
html body.au-el .au-cf .wpcf7-not-valid-tip { margin-top: 6px; color: #FF9B9B; font-size: 13px; line-height: 18px; }

/* send button: an <input>, so the round arrow sits on its wrapper */
html body.au-el .au-cf .au-cf-send { position: relative; align-self: flex-start; display: inline-flex; margin-top: 8px; }
html body.au-el .au-cf .au-cf-send input[type="submit"] {
  height: 56px; padding: 0 64px 0 28px; border: 0; border-radius: 999px; cursor: pointer; appearance: none; -webkit-appearance: none;
  background: linear-gradient(90deg, #5E24F2, #5BB5F1); color: #fff; font: 400 18px/1.45 var(--sans); white-space: nowrap;
  box-shadow: 0 10px 30px -12px rgba(94, 36, 242, .7); transition: transform .2s ease;
}
html body.au-el .au-cf .au-cf-send input[type="submit"]:hover { transform: translateY(-1px); }
html body.au-el .au-cf .au-cf-send::after {
  content: ""; position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; border-radius: 50%; pointer-events: none;
  background: rgba(1, 62, 129, .85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .2s ease;
}
html body.au-el .au-cf .au-cf-send:hover::after { transform: translateY(-1px); }
html body.au-el .au-cf .wpcf7-spinner { position: absolute; left: calc(100% + 12px); top: 16px; margin: 0; }
html body.au-el .au-cf .wpcf7-response-output { margin: 4px 0 0 !important; padding: 12px 16px !important; border-radius: 12px; color: #fff; font-size: 15px; line-height: 20px; }
html body.au-el .au-cf.sent .wpcf7-response-output { border-color: #D4EF89 !important; }
html body.au-el .au-cf.invalid .wpcf7-response-output, html body.au-el .au-cf.failed .wpcf7-response-output { border-color: #FF9B9B !important; }

/* Questions tab: the line that leads to the form */
html body.au-el #faq .faq-more p { margin-top: 32px; color: var(--body); font-size: 16px; line-height: 20px; }
html body.au-el #faq .faq-more a { color: var(--accent); text-underline-offset: 4px; }

@media (max-width: 860px) {
  html body.au-el .ft .ftc { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 72px 56px; }
}
@media (max-width: 520px) {
  html body.au-el .au-cf .au-cf-row { grid-template-columns: minmax(0, 1fr); }
  html body.au-el .au-cf .au-cf-send input[type="submit"] { font-size: 16px; padding-left: 22px; }
}
