.contact-page {
  background: linear-gradient(135deg, #f4f2ff, #fafaff 55%, #eff3ff);
  padding: clamp(106px, 7.5vw, 128px) 5% clamp(48px, 6vw, 96px);
}
.contact-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  max-width: 1200px;
  aspect-ratio: 3 / 1;
  margin: 0 auto clamp(30px, 3.5vw, 52px);
  overflow: hidden;
  border: 1px solid #e2dcf3;
  border-radius: 24px;
  background: #eae6fb;
}
.contact-banner img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-banner-copy {
  width: 51%;
  padding: clamp(24px, 3.8vw, 56px);
  padding-bottom: clamp(44px, 6vw, 88px);
  color: #221638;
}
.contact-banner h1 {
  margin: 0;
  font-size: clamp(38px, 5.3vw, 76px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.contact-banner p {
  margin: 14px 0 0;
  max-width: 38ch;
  color: #463953;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.6;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: clamp(35px, 7vw, 100px);
  align-items: start;
  max-width: 1120px;
  margin-inline: auto;
}
.application-card {
  padding: clamp(24px, 3.2vw, 44px);
  background: #fff;
  border: 1px solid #e6e4ef;
  border-radius: 22px;
  box-shadow: 0 16px 48px #2f26520c;
}
.application-card h2 { font-size: clamp(23px, 2vw, 31px); line-height: 1.2; letter-spacing: -.025em; }
#creator-application { display: grid; gap: 19px; margin-top: 26px; }
.application-field { display: grid; gap: 6px; }
.application-field > span, .application-card legend { font-size: 15px; font-weight: 650; }
.application-field small { color: #625d72; font-size: 13px; font-weight: 400; }
.application-field input, .application-field textarea {
  width: 100%;
  min-width: 0;
  padding: 10px 13px;
  color: #1d192d;
  border: 1px solid #cbc9d8;
  border-radius: 9px;
  background: #fdfdff;
  line-height: 1.4;
}
.application-field textarea { resize: vertical; min-height: 65px; }
.application-card fieldset { min-width: 0; border: 0; margin: 0; padding: 0; }
.application-card legend { padding: 0; margin-bottom: 8px; }
.group-options { display: flex; flex-wrap: wrap; gap: 8px; }
.group-options label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9px;
  border: 1px solid #d5d2e0;
  padding: 8px 12px;
  font-size: 14px;
}
.group-options input { accent-color: #603aca; margin: 0; }
.group-options label:has(:checked) { border-color: #8064d6; background: #f5f2ff; }
.application-card :is(input, textarea):focus-visible { outline: 2px solid #7658ce; outline-offset: 2px; }
.application-submit {
  padding: 13px 24px;
  background: #5834c4;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
}
.application-submit:hover { background: #4829a7; }
.application-submit:disabled { opacity: .7; cursor: progress; }
.application-error { color: #9c2534; font-size: 14px; }
.application-receipt { padding-block: 32px; }
.application-receipt h3 { font-size: 23px; color: #442697; margin-bottom: 8px; }
#creator-application[hidden], .application-card [hidden] { display: none; }
@media (max-width: 800px) {
  .contact-layout { grid-template-columns: minmax(0, 580px); justify-content: center; gap: 26px; }
}
@media (max-width: 640px) {
  .contact-banner { aspect-ratio: auto; border-radius: 18px; }
  .contact-banner-copy { width: 100%; padding: 24px 24px 0; }
  .contact-banner img {
    position: static;
    order: 1;
    height: clamp(145px, 36vw, 205px);
    object-position: right;
    mask-image: linear-gradient(transparent, black 14%);
  }
}
.contact-paths { display: grid; }
.contact-paths section { padding: 18px 0; border-top: 1px solid #d4d0e5; }
.contact-paths h2 { text-align: start; font-size: 20px; line-height: 1.3; }
.contact-paths p { margin: 6px 0 10px; max-width: 46ch; font-size: 15px; line-height: 1.55; color: #504c62; }
.contact-link, .contact-team { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 650; color: #4d319e; padding: 0; }
.contact-link:hover, .contact-team:hover { text-decoration: underline; }
.contact-team { margin-top: 9px; gap: 10px; }
.contact-avatars { display: inline-flex; padding-left: 7px; }
.contact-avatars img { height: 34px; width: 34px; border-radius: 50%; object-fit: cover; object-position: center 25%; border: 2px solid white; margin-left: -7px; }
.application-intro { color: #625d72; line-height: 1.5; margin-block: 9px 0; font-size: 15px; }
.application-card:has(#application-receipt:not([hidden])) .application-intro { display: none; }
