/* Scoped to the contact form. It inherits the site's Apple/Inter/system font. */
.ak-contact-form {
  --ak-form-ink: #1d1d1f;
  --ak-form-muted: #6e6e73;
  --ak-form-blue: #1976d2;
  --ak-form-motion: cubic-bezier(.2,.75,.25,1);
  width: min(100%, 660px);
  margin: 52px auto 0;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid #ffffffa6;
  border-radius: 28px;
  background: linear-gradient(145deg, #fff 0%, #f6f7fa 100%);
  color: var(--ak-form-ink);
  text-align: left;
  font: inherit;
  box-shadow: 0 28px 75px #0000003d, 0 1px 0 #fff inset;
}
.ak-contact-form *, .ak-contact-form *::before, .ak-contact-form *::after { box-sizing: border-box; }
.ak-contact-form [hidden] { display: none !important; }
.ak-form-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ak-contact-form .ak-form-eyebrow { font-size: 12px; font-weight: 650; line-height: 1.4; letter-spacing: 1.35px; text-transform: uppercase; color: var(--ak-form-blue); }
.ak-form-counter { font-size: 12px; line-height: 1.4; font-variant-numeric: tabular-nums; letter-spacing: 1px; color: var(--ak-form-muted); white-space: nowrap; }
.ak-form-progress { display: flex; gap: 6px; margin: 20px 0 32px; }
.ak-form-progress > span { position: relative; height: 3px; flex: 1; overflow: hidden; border-radius: 9px; background: #dce4ed; }
.ak-form-progress > span::after { content: ""; display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #5379ed, #258ccf); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ak-form-motion); }
.ak-form-progress > span.is-reached::after { transform: scaleX(1); }
.ak-form-stage { margin-top: 28px; }
.ak-contact-form.is-enhanced .ak-form-stage { margin-top: 0; min-height: 292px; }
.ak-form-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.ak-form-step + .ak-form-step { margin-top: 36px; }
.ak-contact-form.is-enhanced .ak-form-step { margin: 0; }
.ak-contact-form .ak-form-title { width: 100%; padding: 0; margin: 0; font-size: clamp(25px, 3vw, 32px); font-weight: 650; line-height: 1.18; letter-spacing: -1px; color: var(--ak-form-ink); }
.ak-contact-form .ak-form-caption { padding: 0; margin: 12px 0 25px; max-width: 480px; font-size: 16px; line-height: 1.55; color: var(--ak-form-muted); }
.ak-form-field + .ak-form-field { margin-top: 20px; }
.ak-form-field label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 9px; font-size: 14px; font-weight: 550; line-height: 1.4; color: #4b4b51; }
.ak-form-optional { font-size: 12px; font-weight: 400; color: #7b7e87; }
.ak-form-field input, .ak-form-field textarea {
  appearance: none;
  display: block;
  width: 100%;
  min-height: 54px;
  border: 1px solid #cbd4df;
  border-radius: 12px;
  padding: 15px 16px;
  outline: 0;
  background: #eef1f5;
  color: var(--ak-form-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
  box-shadow: 0 1px 0 #ffffffc9;
  transition: background-color .25s, border-color .25s, box-shadow .25s;
}
.ak-form-field textarea { min-height: 144px; resize: vertical; }
.ak-form-field input::placeholder, .ak-form-field textarea::placeholder { color: #7b818c; opacity: 1; }
.ak-form-field input:hover, .ak-form-field textarea:hover { border-color: #9dacbf; }
.ak-form-field input:focus, .ak-form-field textarea:focus { border-color: var(--ak-form-blue); background: #fff; box-shadow: 0 0 0 4px #1976d21c; }
.ak-form-field [aria-invalid="true"] { border-color: #bc4949; box-shadow: 0 0 0 3px #bc494910; }
.ak-form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding-top: 26px; margin-top: 24px; border-top: 1px solid #dfe4ea; }
.ak-contact-form.is-enhanced .ak-form-actions { margin-top: 16px; }
.ak-contact-form button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font: inherit; font-size: 14px; font-weight: 500; line-height: 1.2; border: 0; cursor: pointer; transition: color .2s, background-color .2s, box-shadow .2s, transform .25s var(--ak-form-motion); }
.ak-contact-form button svg { width: 18px; height: 18px; flex: 0 0 auto; }
.ak-form-back { margin-right: auto; padding: 14px 0; min-height: 48px; background: transparent; color: #626b77; }
.ak-form-back:hover { color: #1d1d1f; }
.ak-form-back:disabled { color: #8b939e; opacity: .55; cursor: default; }
.ak-form-primary { min-height: 48px; min-width: 132px; padding: 15px 21px; border-radius: 999px; color: #fff; background: #1d1d1f; box-shadow: 0 4px 12px #18202c15; }
.ak-form-primary:hover { background: #2b5c92; box-shadow: 0 6px 17px #1b629029; transform: translateY(-1px); }
.ak-form-primary:active { transform: translateY(0); }
.ak-form-primary:disabled { opacity: .65; cursor: wait; transform: none; }
.ak-contact-form button:focus-visible { outline: 3px solid #1976d2; outline-offset: 4px; }
.ak-contact-form .ak-form-status { min-height: 0; margin: 0; padding: 0; max-width: none; font-size: 14px; line-height: 1.5; color: #7d3030; }
.ak-contact-form .ak-form-status:not(:empty) { margin-top: 16px; }
@media(max-width: 700px) {
  .ak-contact-form { margin-top: 38px; border-radius: 24px; padding: 26px; }
  .ak-contact-form.is-enhanced .ak-form-stage { min-height: 310px; }
  .ak-contact-form .ak-form-title { font-size: 27px; }
  .ak-contact-form .ak-form-caption { font-size: 14px; }
  .ak-form-progress { margin-bottom: 28px; }
  .ak-form-actions { padding-top: 22px; }
}
@media(max-width: 380px) {
  .ak-contact-form { padding: 22px; }
  .ak-contact-form .ak-form-title { font-size: 25px; }
  .ak-form-eyebrow { max-width: 170px; }
  .ak-form-primary { min-width: 120px; padding-left: 17px; padding-right: 17px; }
}
@media(prefers-reduced-motion: reduce) {
  .ak-contact-form *, .ak-contact-form *::before, .ak-contact-form *::after { transition: none !important; }
  .ak-form-primary:hover, .ak-form-primary:active { transform: none; }
}
@media(forced-colors: active) {
  .ak-contact-form { background: Canvas; color: CanvasText; border: 1px solid CanvasText; box-shadow: none; }
  .ak-contact-form .ak-form-title, .ak-form-field label, .ak-contact-form .ak-form-caption, .ak-contact-form .ak-form-eyebrow, .ak-form-counter { color: CanvasText; }
  .ak-form-field input, .ak-form-field textarea { background: Canvas; color: CanvasText; border-color: CanvasText; }
  .ak-form-primary { background: ButtonFace; color: ButtonText; border: 1px solid ButtonText; }
  .ak-form-progress > span { background: Canvas; border: 1px solid GrayText; }
  .ak-form-progress > span::after { background: Highlight; }
}

.ak-contact-form .ak-form-privacy { margin: 24px 0 0; color: #6e6e73; font-size: 12px; line-height: 1.5; }
.contact .contact-direct { margin: 32px 0 20px; color: #b7c8d9; font-size: 16px; line-height: 1.5; }
.contact-direct a { color: #a5d4ff; text-decoration: underline; text-underline-offset: 4px; }
