.contact-page {
  overflow-x: hidden;
  background: #fcfbf6;
}

.contact-main {
  padding: 200px 120px 120px;
  background: #fcfbf6;
}

.contact-main__introduction {
  display: flex;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 48px;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.contact-main__introduction h1,
.contact-main__introduction p {
  margin: 0;
}

.contact-main__introduction h1 {
  color: #010c3d;
  font-size: 64px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 72px;
}

.contact-main__introduction p {
  color: #58627a;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
}

.contact-form {
  display: flex;
  width: min(100%, 1200px);
  margin-inline: auto;
  padding: 32px 36px;
  flex-direction: column;
  gap: 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgb(1 12 61 / 0.07);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.contact-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  color: #010c3d;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.contact-field > span > span[aria-hidden="true"] {
  color: #d92d20;
}

.contact-field--phone > label > span[aria-hidden="true"],
.contact-field--verification > label > span[aria-hidden="true"] {
  color: #d92d20;
}

.contact-field__control {
  position: relative;
  display: block;
  min-width: 0;
}

.contact-field select,
.contact-field input,
.contact-field textarea {
  display: block;
  width: 100%;
  border: 1px solid #afcaff;
  border-radius: 15px;
  color: #0f172a;
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.contact-field input,
.contact-field select {
  height: 58px;
  padding: 16px;
}

.contact-field__control--with-icon input,
.contact-field__control--with-icon select {
  padding-right: 48px;
}

.contact-field textarea {
  height: 112px;
  padding: 16px;
  resize: vertical;
  background: #f4f7ff;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #98a2b3;
  opacity: 1;
}

.contact-field input:hover,
.contact-field textarea:hover {
  border-color: #7fa5ff;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: #4980ff;
  box-shadow: 0 0 0 4px rgb(73 128 255 / 0.14);
}

.contact-field [aria-invalid="true"] {
  border-color: #d92d20;
}

.contact-field__error {
  display: block;
  color: #b42318;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.contact-field__error[hidden] {
  display: none;
}

.contact-field__control img {
  position: absolute;
  top: 50%;
  right: 16px;
  display: block;
  width: 20px;
  height: 20px;
  pointer-events: none;
  transform: translateY(-50%);
}

.contact-form__privacy {
  max-width: 640px;
  margin: 4px auto 0;
  color: #667085;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
}

.contact-form__privacy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form__privacy a:hover {
  color: #1f5fe8;
}

.contact-form__privacy a:focus-visible {
  outline: 2px solid #4980ff;
  outline-offset: 2px;
  border-radius: 2px;
}

.contact-form__submit {
  display: flex;
  min-height: 58px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.contact-form__submit button {
  display: inline-flex;
  min-height: 58px;
  padding: 16px 24px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 30px;
  color: #fff;
  background: #4980ff;
  box-shadow: 0 8px 16px rgb(73 128 255 / 0.15);
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.contact-form__submit button:hover {
  background: #5b8cff;
  box-shadow: 0 12px 24px rgb(73 128 255 / 0.24);
  transform: translateY(-2px);
}

.contact-form__submit button:focus-visible {
  outline: 3px solid #010c3d;
  outline-offset: 3px;
}

.contact-form__submit button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
  box-shadow: none;
}

.contact-form__submit button img {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  transition: transform 160ms ease;
}

.contact-form__submit button:hover img {
  transform: translateX(3px);
}

.contact-form__status {
  min-height: 0;
  margin: 0;
  color: #58627a;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
}

.contact-form__status:empty {
  display: none;
}

.contact-form__status[data-state="error"] {
  color: #b42318;
}

.contact-form__status[data-state="success"] {
  color: #027a48;
}

@media (max-width: 1320px) {
  .contact-main {
    padding-inline: 40px;
  }
}

@media (max-width: 920px) {
  .contact-main {
    padding: 156px 24px 88px;
  }

  .contact-main__introduction h1 {
    font-size: 54px;
    line-height: 62px;
  }

  .contact-form {
    padding: 28px;
  }

  .contact-form__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .contact-main {
    padding: 120px 18px 72px;
  }

  .contact-main__introduction {
    margin-bottom: 32px;
    gap: 12px;
  }

  .contact-main__introduction h1 {
    font-size: 44px;
    line-height: 52px;
  }

  .contact-main__introduction p {
    font-size: 16px;
    line-height: 24px;
  }

  .contact-form {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .contact-form__grid {
    gap: 18px;
  }

  .contact-field input,
.contact-field select {
    height: 54px;
    padding-block: 14px;
  }

  .contact-form__submit button {
    min-height: 54px;
    padding: 14px 20px;
    font-size: 16px;
    line-height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-field select,
.contact-field input,
  .contact-field textarea,
  .contact-form__submit button,
  .contact-form__submit button img {
    transition: none;
  }
}

.contact-field select{appearance:none;padding-right:40px;background-image:url('../assets/figma-contactus/field-chevron.svg');background-repeat:no-repeat;background-position:right 16px center;background-size:16px;cursor:pointer}
.contact-field__control--with-icon select{background-image:none}
.contact-phone{display:grid;grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr);gap:10px}
.contact-phone select{font-size:14px;padding-left:12px}
.contact-field select:focus{border-color:#4980ff;box-shadow:0 0 0 4px rgb(73 128 255 / .14)}
.contact-field select:hover{border-color:#7fa5ff}

.contact-field--phone{grid-column:1 / -1}
.contact-phone{grid-template-columns:minmax(150px, .65fr) minmax(0, 1.35fr)}
@media(max-width:620px){.contact-phone{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}}

/* Shared Pricing picker visuals. */
.pricing-picker { position: relative; min-width: 0; }
.pricing-picker__trigger {
  display: block; width: 100%; height: 46px; padding: 0 42px 0 18px;
  border: 1px solid #d6dce7; border-radius: 24px; text-align: left;
  color: #111d44; background: #fff url("../assets/figma-contactus/field-chevron.svg") right 16px center / 16px 16px no-repeat;
  font: inherit; font-size: 15px; line-height: 22px; cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.pricing-picker__trigger:hover { background-color: #f4f7ff; border-color: #a8bce3; }
.pricing-picker__trigger[aria-expanded="true"] { border-color: #7499e2; background-color: #f8faff; }
.pricing-picker__trigger:focus { outline: none; }
.pricing-picker__trigger:focus-visible { outline: 2px solid #4980ff; outline-offset: -2px; }
.pricing-picker__list {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 30;
  width: 100%; min-width: 100%; max-height: 248px; overflow-y: auto;
  padding: 6px; border-radius: 16px; background: #fff;
  box-shadow: 0 10px 30px rgb(17 29 68 / .13);
  animation: pricing-menu-in 140ms ease-out;
}
.pricing-picker__list[hidden] { display: none; }
.pricing-picker--above .pricing-picker__list { top: auto; bottom: calc(100% + 8px); }
.pricing-picker__option { position: relative; padding: 11px 30px 11px 12px; border-radius: 10px; color: #111d44; font-size: 14px; line-height: 20px; cursor: pointer; overflow-wrap: anywhere; }
.pricing-picker__option[aria-selected="true"] { color: #0344ba; background: #eef3ff; font-weight: 500; }
.pricing-picker__option[aria-selected="true"]::after { content: ""; position: absolute; right: 13px; top: 15px; width: 5px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.pricing-picker__option:hover, .pricing-picker__option.is-active { background: #f0f4fc; }
.pricing-picker__option[aria-selected="true"].is-active { background: #e8efff; }
@keyframes pricing-menu-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .pricing-picker__list { animation: none; } .pricing-picker__trigger { transition: none; } }
.contact-field select[hidden]{display:none}
.contact-field__control:has(.pricing-picker)>img{display:none}
.contact-field--phone{grid-column:1 / -1}
.contact-phone{display:flex;width:calc(50% - 12px);max-width:none;align-items:flex-start}
.contact-phone__number{display:grid;width:100%;min-width:0;grid-template-columns:142px minmax(0,1fr) auto;overflow:hidden;border:1px solid #afcaff;border-radius:15px;background:#fff;transition:border-color 160ms ease,box-shadow 160ms ease}
.contact-phone__number:has(.pricing-picker__trigger[aria-expanded="true"]){overflow:visible}
.contact-phone__number:hover{border-color:#7fa5ff}
.contact-phone__number:focus-within{border-color:#4980ff;box-shadow:0 0 0 4px rgb(73 128 255 / .14)}
.contact-phone__number:has([aria-invalid="true"]){border-color:#d92d20}
.contact-phone__number select,.contact-phone__number input{height:56px;border:0;border-radius:0;box-shadow:none}
.contact-phone__number input{height:58px;border-radius:0;background:#fff}
.contact-phone__number input:hover,.contact-phone__number input:focus{border:0;box-shadow:none}
.contact-form .contact-phone .pricing-picker__trigger,.contact-form .contact-phone .pricing-picker__trigger:hover,.contact-form .contact-phone .pricing-picker__trigger:focus-visible,.contact-form .contact-phone .pricing-picker__trigger[aria-expanded="true"]{height:58px;outline:none;border:0;border-right:1px solid #afcaff;border-radius:0;background-color:#f6f8fc;box-shadow:none}
.contact-phone__number:focus-within .pricing-picker__trigger{border-right-color:#4980ff}
.contact-phone__number:has([aria-invalid="true"]) .pricing-picker__trigger{border-right-color:#d92d20}
.contact-phone .pricing-picker__list{width:340px;min-width:280px;padding:0;overflow-x:hidden}
.contact-phone .pricing-picker__search{position:sticky;top:0;z-index:1;padding:10px;background:#fff;border-bottom:1px solid #e4e9f2}
.contact-phone .pricing-picker__search input{height:40px;padding:8px 12px 8px 38px;border:0;border-radius:10px;background:#f5f7fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2398a2b3' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") 12px center / 16px 16px no-repeat;font-size:14px;box-shadow:none}
.contact-phone .pricing-picker__search input:focus{border:0;box-shadow:0 0 0 2px rgb(73 128 255 / .22)}
.contact-phone .pricing-picker__options{padding:6px}
.contact-phone .pricing-picker__no-results{margin:0;padding:16px 14px;color:#667085;font-size:14px;line-height:20px}
.contact-phone .pricing-picker__option{padding:10px 12px;border-radius:8px}
.contact-phone .pricing-picker__option[aria-selected="true"]::after{content:none}
.contact-country{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%}
.contact-country__flag{display:grid;width:24px;height:18px;place-items:center;font-size:18px;line-height:18px}
.contact-country__flag img{display:block;width:24px;height:18px;object-fit:cover}
.contact-country__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.contact-country__dial{color:#667085;font-variant-numeric:tabular-nums}
.contact-phone .pricing-picker__trigger .contact-country{display:flex;grid-template-columns:none;gap:9px;align-items:center;width:auto}
.contact-phone .pricing-picker__trigger .contact-country__flag{width:24px;flex:0 0 24px}
.contact-phone .pricing-picker__trigger .contact-country__dial{color:#0f172a}
.contact-phone .pricing-picker__trigger{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Sending is secondary to the final submission and belongs to the phone field. */
.contact-phone__send{align-self:stretch;width:auto;min-width:0;min-height:56px;margin:0;padding:0 12px;border:0;border-left:1px solid #afcaff;border-radius:0 14px 14px 0;color:#2459c4;background:#edf3ff;font-family:inherit;font-size:13px;font-weight:600;line-height:18px;white-space:nowrap;cursor:pointer;transition:background-color 160ms ease,color 160ms ease}
.contact-phone__send[hidden]{display:none}
.contact-phone__send:hover:not(:disabled){color:#1749ae;background:#dfeaff}
.contact-phone__send:focus-visible{outline:3px solid #010c3d;outline-offset:-4px}
.contact-phone__send:disabled{color:#667085;background:#edf0f4;cursor:not-allowed}
.contact-phone__send.is-sending{cursor:progress}
.contact-field--verification[hidden]{display:none}
.contact-phone__otp{max-width:420px}
.contact-phone__otp input{height:58px;padding:16px}
.contact-phone__otp input::placeholder{color:#98a2b3;opacity:1}
.contact-phone__otp input:hover{border-color:#7fa5ff}
.contact-phone__otp input:focus{border-color:#4980ff;box-shadow:0 0 0 4px rgb(73 128 255 / .14)}
.contact-phone__otp input[aria-invalid="true"]{border-color:#d92d20}
.contact-phone__hint{margin:0;font-size:14px;font-weight:400;line-height:20px;color:#58627a}
.contact-phone__hint[data-state="error"]{color:#b42318}
@media(max-width:920px){.contact-phone{width:100%}}
@media(max-width:620px){.contact-phone{width:100%;max-width:none}.contact-phone__number{width:100%;grid-template-columns:112px minmax(0,1fr) auto}.contact-phone__number select,.contact-phone__number input,.contact-form .contact-phone .pricing-picker__trigger{height:54px}.contact-phone__send{min-height:52px;padding-inline:9px;font-size:12px}.contact-phone__otp{max-width:none}.contact-phone__otp input{height:54px}}

/* Match the contact inputs while retaining the shared menu interactions. */
.contact-form .pricing-picker__trigger{display:flex;height:58px;min-height:58px;padding:0 48px 0 16px;align-items:center;border:1px solid #afcaff;border-radius:15px;color:#0f172a;background-color:#fff;font-family:inherit;font-size:16px;font-weight:400;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:border-color 160ms ease,box-shadow 160ms ease,background-color 160ms ease}
.contact-form .pricing-picker__trigger:hover{border-color:#7fa5ff;background-color:#fff}
.contact-form .pricing-picker__trigger:focus-visible,.contact-form .pricing-picker__trigger[aria-expanded="true"]{outline:none;border-color:#4980ff;background-color:#fff;box-shadow:0 0 0 4px rgb(73 128 255 / .14)}
.contact-field:has(select:invalid) .pricing-picker__trigger,.contact-field:has(select[name="jobTitle"]:has(option[value=""]:checked)) .pricing-picker__trigger{color:#98a2b3}
.contact-phone .pricing-picker__trigger{padding-left:12px;padding-right:34px}
.contact-form__submit button:disabled{cursor:not-allowed;opacity:.5;filter:grayscale(1);box-shadow:none;transform:none}
.contact-form__submit button:disabled img{transform:none}
@media(max-width:620px){.contact-form .pricing-picker__trigger{height:54px;min-height:54px;padding-block:0}}

.contact-form .pricing-picker__trigger.is-placeholder{color:#98a2b3}
.contact-field select[multiple]{min-height:58px}
.contact-field:has(select[multiple]) .pricing-picker__option{padding-right:38px}
.contact-field:has(select[multiple]) .pricing-picker__option[aria-selected="true"]::after{top:50%;right:15px;width:7px;height:12px;border-width:0 2px 2px 0;transform:translateY(-65%) rotate(45deg)}
.contact-field:has(select[multiple]) .pricing-picker__trigger{height:auto;min-height:58px;padding-block:16px;white-space:normal;overflow-wrap:anywhere}
.contact-field:has(select[multiple]) .pricing-picker__trigger>span{min-width:0}
.pricing-picker__option[aria-disabled="true"]{color:#98a2b3;background:transparent;cursor:not-allowed}

/* Compact calling code and inset verification action. */
.contact-phone__number{grid-template-columns:116px minmax(0,1fr) auto;align-items:center;background:#e8f0fe}
.contact-form .contact-phone .pricing-picker__trigger,
.contact-form .contact-phone .pricing-picker__trigger:hover,
.contact-form .contact-phone .pricing-picker__trigger:focus-visible,
.contact-form .contact-phone .pricing-picker__trigger[aria-expanded="true"]{border-radius:14px 0 0 14px}
.contact-phone__number > input{border-radius:0 14px 14px 0;background:#e8f0fe}
.contact-phone__number > input:autofill{box-shadow:0 0 0 1000px #e8f0fe inset}
.contact-phone__number > input:autofill:hover,.contact-phone__number > input:autofill:focus{box-shadow:0 0 0 1000px #e8f0fe inset}
.contact-phone__number:has(.contact-phone__send:not([hidden])) > input{border-radius:0}
.contact-form .contact-phone .pricing-picker__trigger{padding:0 30px 0 14px;background-position:right 12px center;background-size:14px}
.contact-phone .pricing-picker__trigger .contact-country{gap:8px}
.contact-country__flag,.contact-country__flag img{width:22px;height:16px;border-radius:3px}
.contact-phone .pricing-picker__trigger .contact-country__flag{width:22px;flex-basis:22px}
.contact-phone .pricing-picker__trigger .contact-country__dial{font-size:14px;font-weight:500;letter-spacing:.01em;font-variant-numeric:tabular-nums}
.contact-phone__send{align-self:center;min-height:38px;margin:0 8px 0 4px;padding:0 14px;border:0;border-radius:10px;background:#2868ed;color:#fff;font-size:13px;line-height:18px;font-weight:600;font-variant-numeric:tabular-nums}
.contact-phone__send:hover:not(:disabled){background:#1855d1;color:#fff}
.contact-phone__send:disabled{background:#f1f4f9;color:#52627c;font-weight:500}
.contact-phone__send:focus-visible{outline:2px solid #2868ed;outline-offset:2px}
@media(max-width:620px){
  .contact-phone__number{grid-template-columns:100px minmax(0,1fr) auto}
  .contact-form .contact-phone .pricing-picker__trigger{padding-left:10px;padding-right:26px;background-position:right 9px center}
  .contact-phone .pricing-picker__trigger .contact-country{gap:6px}
  .contact-phone__send{min-height:36px;margin-right:6px;padding-inline:10px;font-size:12px}
}

.contact-phone .pricing-picker__list{border-radius:15px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}
.contact-phone .pricing-picker__search{border-radius:15px 15px 0 0}
.contact-form .contact-phone .pricing-picker__search input{height:40px;min-height:40px;border-radius:10px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}
.contact-phone .pricing-picker__options .contact-country__name,
.contact-phone .pricing-picker__options .contact-country__dial{font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:normal}
@media(max-width:620px){.contact-field:has(select[multiple]) .pricing-picker__trigger{min-height:54px;padding-block:14px}}

/* Keep human verification subordinate to the form fields. */
#contact-turnstile { width:300px; max-width:100%; margin-top:12px; justify-self:start; }
#contact-turnstile iframe { max-width:100%; }
