.page-contact {
  margin: 0;
  color: #101419;
  background: #fff;
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-contact main {
  overflow-x: hidden;
  overflow-x: clip;
}

.page-contact main *,
.page-contact main *::before,
.page-contact main *::after {
  box-sizing: border-box;
}

.page-contact main button,
.page-contact main input,
.page-contact main select,
.page-contact main textarea {
  font: inherit;
}

.ct-container {
  width: min(calc(100% - 160px), 1280px);
  margin-inline: auto;
}

.ct-eyebrow {
  margin: 0;
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .115em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ct-hero {
  padding: 96px 0 80px;
  background: #f7f9fb;
}

.ct-hero__inner {
  display: grid;
  gap: 16px;
}

.ct-hero h1 {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.ct-hero__inner > p:last-child {
  max-width: 720px;
  margin: 0;
  color: #667681;
  font-size: 16px;
  line-height: 1.6;
}

.ct-form-section {
  padding: 96px 0;
  background: #fff;
}

.ct-form {
  display: grid;
  gap: 48px;
}

.ct-form-group {
  display: grid;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  gap: 24px;
}

.ct-form-group > legend {
  display: block;
  width: 100%;
  padding: 0 0 16px;
  border-bottom: 1px solid #dce5ea;
  color: #101419;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}

.ct-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
}

.ct-choice,
.ct-checkbox {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: #667681;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
}

.ct-choice:has(input:checked) {
  color: #101419;
}

.ct-choice input,
.ct-checkbox input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex: 0 0 20px;
  accent-color: var(--brand-blue);
  cursor: pointer;
}

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

.ct-field {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 8px;
}

.ct-field--wide {
  grid-column: 1 / -1;
}

.ct-field label {
  color: #283240;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.ct-field label span,
.ct-form-group > legend span {
  color: #ff4d4f;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 16px;
  border: 1px solid #dce5ea;
  border-radius: 0;
  color: #101419;
  background-color: #fff;
  font-size: 14px;
  line-height: 1.5;
  transition:
    border-color var(--duration-ui) ease,
    box-shadow var(--duration-ui) ease,
    background-color var(--duration-ui) ease;
}

.ct-field select {
  padding-right: 42px;
  appearance: none;
}

.ct-field textarea {
  min-height: 120px;
  resize: vertical;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder,
.ct-field select:invalid {
  color: #667681;
  opacity: 1;
}

.ct-field input:hover,
.ct-field select:hover,
.ct-field textarea:hover {
  border-color: #a8b8c4;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: var(--focus-ring);
  outline: 0;
}

.ct-field.is-invalid input,
.ct-field.is-invalid select,
.ct-field.is-invalid textarea,
.ct-consent-field.is-invalid .ct-checkbox input {
  border-color: #c83c3c;
  background-color: #fffafa;
}

.ct-field--select::after {
  position: absolute;
  top: 46px;
  right: 18px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #667681;
  border-bottom: 1.5px solid #667681;
  pointer-events: none;
  content: "";
  transform: rotate(45deg);
}

.ct-field__error {
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  z-index: 2;
  display: block;
  color: #a72b2b;
  font-size: 12px;
  line-height: 1.35;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity var(--duration-ui) var(--ease-out),
    transform var(--duration-ui) var(--ease-out),
    visibility 0s linear var(--duration-ui);
}

.ct-field__error[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.ct-character-count {
  justify-self: end;
  color: #667681;
  font-size: 12px;
  line-height: 1.35;
}

.ct-character-count.is-near-limit {
  color: #a65b00;
}

.ct-preferences {
  display: grid;
  gap: 20px;
}

.ct-verification-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: end;
}

.ct-captcha {
  display: grid;
  min-width: 0;
  gap: 8px;
  justify-items: start;
}

.ct-captcha > span {
  color: #364052;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .278em;
  line-height: 1.35;
}

.ct-captcha output {
  display: inline-flex;
  width: 140px;
  height: 46px;
  border: 1px solid #dce5ea;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  background: #f7f9fb;
  font-size: 18px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: .222em;
}

.ct-checkbox {
  align-items: flex-start;
}

.ct-checkbox input {
  margin-top: 1px;
}

.ct-checkbox a {
  color: var(--brand-blue);
  text-underline-offset: 3px;
}

.ct-consent-field {
  position: relative;
  padding-bottom: 18px;
}

.ct-consent-field .ct-field__error {
  top: auto;
  bottom: 0;
}

.ct-form__footer {
  display: grid;
  min-height: 54px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.ct-form__status {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 16px;
  color: #7d2525;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity var(--duration-ui) var(--ease-out),
    transform var(--duration-ui) var(--ease-out),
    visibility 0s linear var(--duration-ui),
    color var(--duration-ui) ease;
}

.ct-form__status[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.ct-form__status.is-success {
  color: #184f39;
}

.ct-form__status p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.ct-form__status a {
  flex: 0 0 auto;
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 3px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity var(--duration-ui) var(--ease-out),
    transform var(--duration-ui) var(--ease-out),
    visibility 0s linear var(--duration-ui),
    color var(--duration-ui) ease;
}

.ct-form__status a[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.ct-button {
  position: relative;
  display: inline-flex;
  min-width: 0;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: var(--brand-blue);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition:
    color var(--duration-ui) ease,
    background-color var(--duration-ui) ease,
    border-color var(--duration-ui) ease,
    box-shadow var(--duration-ui) ease,
    transform var(--duration-press) ease;
}

.ct-button--primary {
  color: #fff;
  border-color: var(--brand-blue);
  background: var(--brand-blue);
}

.ct-button:hover,
.ct-button:focus-visible {
  color: #fff;
  border-color: var(--brand-blue-hover);
  background: var(--brand-blue-hover);
  box-shadow: 0 10px 24px rgba(22, 119, 255, .22);
}

.ct-button:active {
  transform: scale(.97);
}

.ct-form__submit {
  justify-self: end;
}

.ct-explore {
  padding: 64px 0 80px;
  background: #f7f9fb;
}

.ct-explore h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
}

.ct-explore__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.ct-cross-link {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 144px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #dce5ea;
  border-radius: 12px;
  align-content: start;
  gap: 16px;
  color: #101419;
  background: #fff;
  text-decoration: none;
  transition:
    border-color 280ms ease,
    box-shadow 280ms var(--ease-out),
    transform 280ms var(--ease-out);
}

.ct-cross-link::before,
.ct-cta__panel::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    440px circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(22, 119, 255, .13),
    transparent 68%
  );
  content: "";
  transition: opacity 260ms var(--ease-out);
}

.ct-cross-link > *,
.ct-cta__panel > * {
  position: relative;
  z-index: 1;
}

.ct-cross-link__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ct-cross-link h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}

.ct-cross-link p {
  margin: 0;
  color: #667681;
  font-size: 14px;
  line-height: 1.5;
}

.ct-cross-link__arrow,
.ct-inline-arrow {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  color: var(--brand-blue);
  transform: rotate(45deg);
  transition: transform var(--duration-ui) var(--ease-out);
}

.ct-cta {
  padding: 80px 0 48px;
  background: #101419;
}

.ct-cta__panel {
  position: relative;
  display: grid;
  padding: 64px;
  overflow: hidden;
  border-radius: 20px;
  justify-items: center;
  gap: 24px;
  background: #151b23;
  text-align: center;
}

.ct-cta h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  letter-spacing: 0;
  line-height: 1.2;
}

.ct-cta__panel > p:not(.ct-eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 16px;
  line-height: 1.6;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 480ms var(--ease-out),
    transform 480ms var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.ct-cross-link[data-reveal] {
  transition:
    opacity 320ms var(--ease-out),
    border-color 280ms ease,
    box-shadow 280ms var(--ease-out),
    transform 280ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .ct-cross-link.is-visible:hover {
    border-color: rgba(22, 119, 255, .42);
    box-shadow: 0 20px 38px rgba(22, 119, 255, .12);
    transform: translateY(-4px);
  }

  .ct-cross-link:hover::before,
  .ct-cta__panel:hover::before {
    opacity: 1;
  }

  .ct-cross-link:hover .ct-cross-link__arrow,
  .ct-cross-link:focus-visible .ct-cross-link__arrow,
  .ct-button:hover .ct-inline-arrow,
  .ct-button:focus-visible .ct-inline-arrow {
    transform: translateX(3px) rotate(45deg);
  }
}

@media (max-width: 1199px) {
  .ct-container {
    width: min(calc(100% - 64px), 1280px);
  }

  .ct-hero,
  .ct-form-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .ct-explore__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .ct-container {
    width: calc(100% - 32px);
  }

  .ct-hero {
    padding: 48px 0 56px;
  }

  .ct-hero h1 {
    font-size: 34px;
  }

  .ct-form-section {
    padding: 56px 0;
  }

  .ct-form {
    gap: 40px;
  }

  .ct-form-group {
    gap: 20px;
  }

  .ct-form-group > legend {
    font-size: 20px;
  }

  .ct-form-grid,
  .ct-verification-row,
  .ct-explore__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ct-form-grid {
    gap: 24px;
  }

  .ct-field--wide {
    grid-column: auto;
  }

  .ct-choice,
  .ct-checkbox {
    font-size: 13px;
  }

  .ct-verification-row {
    gap: 24px;
  }

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

  .ct-form__status {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .ct-form__submit,
  .ct-button {
    width: 100%;
    justify-self: stretch;
  }

  .ct-explore {
    padding: 56px 0;
  }

  .ct-explore h2,
  .ct-cta h2 {
    font-size: 26px;
  }

  .ct-explore__grid {
    gap: 16px;
    margin-top: 32px;
  }

  .ct-cross-link {
    min-height: 0;
  }

  .ct-cta {
    padding: 48px 0 32px;
  }

  .ct-cta__panel {
    padding: 38px 20px;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  .ct-cross-link,
  .ct-cross-link__arrow,
  .ct-inline-arrow {
    transition: none;
  }

  .ct-cross-link::before,
  .ct-cta__panel::before {
    display: none;
  }

  .ct-cross-link.is-visible:hover,
  .ct-cross-link:hover .ct-cross-link__arrow,
  .ct-cross-link:focus-visible .ct-cross-link__arrow,
  .ct-button:hover .ct-inline-arrow,
  .ct-button:focus-visible .ct-inline-arrow {
    transform: none;
  }

  .ct-field__error,
  .ct-form__status,
  .ct-form__status a {
    transform: none;
    transition:
      opacity var(--duration-press) linear,
      visibility 0s linear var(--duration-press);
  }

  .ct-field__error[aria-hidden="false"],
  .ct-form__status[aria-hidden="false"],
  .ct-form__status a[aria-hidden="false"] {
    transition-delay: 0s;
  }
}

@page {
  margin: 14mm;
}

@media print {
  .ct-explore,
.ct-cta,
.ct-form__submit,
.ct-form__status,
.ct-field__error{
    display: none;
  }

  .page-contact main {
    overflow: visible;
  }

  .page-contact,
  .ct-hero,
  .ct-form-section {
    color: #000;
    background: #fff;
  }

  .page-contact {
    font-size: 10pt;
    print-color-adjust: economy;
  }

  .ct-container {
    width: 100%;
  }

  .ct-hero,
  .ct-form-section {
    padding: 16px 0;
  }

  .ct-form {
    gap: 24px;
  }

  .ct-form-group {
    gap: 12px;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .ct-form-group > legend {
    padding-bottom: 8px;
    font-size: 16pt;
  }

  .ct-form-grid {
    gap: 12px;
  }

  .ct-field {
    gap: 4px;
  }

  .ct-field input,
  .ct-field select,
  .ct-field textarea,
  .ct-captcha output {
    min-height: 34px;
    padding: 6px 8px;
    border-color: #777;
    color: #000;
    background: #fff;
    box-shadow: none;
  }

  .ct-field textarea {
    min-height: 64px;
  }

  .ct-character-count,
  .ct-choice,
  .ct-checkbox,
  .ct-hero__inner > p:last-child {
    color: #222;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
