.website-form-page {
  min-width: 0;
}

.website-form-main {
  min-height: calc(100vh - 82px);
  padding: 132px 28px 88px;
  background:
    linear-gradient(180deg, rgba(16, 59, 121, .14), transparent 420px),
    var(--hp-bg-main);
}

.website-form-shell {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(480px, 1.22fr);
  align-items: start;
  gap: 64px;
}

.website-form-intro {
  max-width: 620px;
}

.website-form-kicker {
  margin: 0 0 14px;
  color: var(--hp-blue-bright);
  font: 800 14px/1.1 Inter, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.website-form-intro h1 {
  max-width: 760px;
  margin: 0;
  color: var(--hp-text-primary);
  font: 900 58px/.94 "Barlow Condensed", sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

.website-form-intro > p:last-of-type {
  max-width: 630px;
  margin: 24px 0 0;
  color: var(--hp-text-secondary);
  font-size: 18px;
  line-height: 1.7;
}

.website-form-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 44px;
  color: var(--hp-text-muted);
  font: 800 12px/1.2 Inter, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.website-form-brand img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(15, 99, 246, .25));
}

.website-form-panel {
  min-width: 0;
  padding: 34px;
  border: 1px solid var(--hp-border-subtle);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(25, 74, 145, .16), transparent 46%),
    var(--hp-bg-surface);
  box-shadow: 0 28px 72px rgba(0, 4, 18, .42);
}

.association-layout .website-form-intro {
  margin-bottom: 38px;
}

.association-layout .website-form-intro h1 {
  font-size: 52px;
}

.association-form-panel {
  padding: 38px;
}

.website-form-fields {
  display: grid;
  gap: 23px;
}

.association-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 26px;
}

.website-field,
.website-field-wide {
  min-width: 0;
}

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

.website-field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 9px;
  color: var(--hp-text-primary);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.website-field label span {
  flex: 0 0 auto;
  color: var(--hp-text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.website-field input,
.website-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(125, 173, 241, .28);
  border-radius: 6px;
  color: var(--hp-text-primary);
  background: #0b2343;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  font: 600 16px/1.45 Inter, sans-serif;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.website-field input {
  min-height: 52px;
  padding: 12px 14px;
}

.website-field textarea {
  min-height: 148px;
  padding: 14px;
  resize: vertical;
}

.website-field input::placeholder,
.website-field textarea::placeholder {
  color: #7890b2;
  opacity: 1;
}

.website-field input:hover,
.website-field textarea:hover {
  border-color: rgba(126, 179, 255, .5);
}

.website-field input:focus,
.website-field textarea:focus {
  outline: none;
  border-color: var(--hp-border-active);
  background: #0d294e;
  box-shadow: 0 0 0 3px rgba(45, 134, 255, .15);
}

.website-field input[aria-invalid="true"],
.website-field textarea[aria-invalid="true"] {
  border-color: #ff7783;
  box-shadow: 0 0 0 3px rgba(255, 84, 99, .12);
}

.field-help,
.field-error {
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

.field-help {
  color: var(--hp-text-muted);
}

.field-error {
  min-height: 18px;
  color: #ff9ca5;
  font-weight: 700;
}

.website-form-caution {
  margin: 24px 0 18px;
  padding-left: 13px;
  border-left: 2px solid var(--hp-blue-bright);
  color: var(--hp-text-muted);
  font-size: 12px;
  line-height: 1.55;
}

.website-form-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 25px;
}

.website-form-actions .website-form-caution {
  max-width: 560px;
  margin: 0;
}

.association-form-panel .website-form-actions {
  justify-content: flex-end;
}

.website-form-panel.is-complete {
  padding: 0;
}

.website-form-success {
  display: grid;
  min-height: 430px;
  place-items: center;
  padding: 64px 48px;
  text-align: center;
  scroll-margin-top: 110px;
}

.website-form-success[hidden] {
  display: none;
}

.website-form-success-content {
  display: flex;
  max-width: 760px;
  align-items: center;
  flex-direction: column;
}

.website-form-success-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-bottom: 28px;
  border: 2px solid rgba(111, 174, 255, .75);
  border-radius: 50%;
  color: #fff;
  background: rgba(30, 105, 215, .28);
  box-shadow: 0 16px 40px rgba(15, 99, 246, .22);
  font: 800 34px/1 Inter, sans-serif;
}

.website-form-success h2 {
  max-width: 720px;
  margin: 0;
  color: var(--hp-text-primary);
  font: 900 42px/1.04 "Barlow Condensed", sans-serif;
  letter-spacing: 0;
}

.website-form-success h2:focus-visible {
  outline: 2px solid var(--hp-border-active);
  outline-offset: 8px;
}

.website-form-success p {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--hp-text-secondary);
  font-size: 18px;
  line-height: 1.65;
}

.website-submit {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid rgba(135, 188, 255, .55);
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, #0c53cf, var(--hp-blue-bright));
  box-shadow: 0 16px 38px rgba(15, 99, 246, .22);
  font: 800 13px/1 Inter, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.website-submit:hover,
.website-submit:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #176fee, #4a9bff);
  box-shadow: 0 20px 48px rgba(15, 99, 246, .32);
}

.website-submit:disabled {
  transform: none;
  border-color: rgba(130, 155, 190, .18);
  color: #7f91ac;
  background: #12223b;
  box-shadow: none;
  cursor: wait;
}

.website-form-status {
  min-height: 52px;
  margin-top: 18px;
  padding: 0;
  color: var(--hp-text-secondary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.website-form-status.is-success,
.website-form-status.is-error {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: 6px;
}

.website-form-status.is-success {
  border: 1px solid rgba(71, 165, 255, .46);
  color: #f5f9ff;
  background: rgba(25, 88, 169, .22);
}

.website-form-status.is-error {
  border: 1px solid rgba(255, 105, 120, .34);
  color: #ffd7dc;
  background: rgba(99, 20, 37, .2);
}

.website-trap {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 980px) {
  .website-form-main {
    padding-top: 122px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .website-form-brand {
    display: none;
  }

  .website-form-intro h1,
  .association-layout .website-form-intro h1 {
    font-size: 48px;
  }
}

@media (max-width: 680px) {
  .website-form-main {
    padding: 108px 16px 62px;
  }

  .website-form-intro h1,
  .association-layout .website-form-intro h1 {
    font-size: 40px;
    line-height: .98;
  }

  .website-form-intro > p:last-of-type {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.6;
  }

  .association-layout .website-form-intro {
    margin-bottom: 28px;
  }

  .website-form-panel,
  .association-form-panel {
    padding: 22px 18px;
  }

  .association-fields {
    grid-template-columns: 1fr;
  }

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

  .website-field label {
    align-items: flex-start;
  }

  .website-form-actions {
    display: block;
  }

  .website-form-actions .website-form-caution {
    margin-bottom: 18px;
  }

  .website-submit {
    width: 100%;
  }

  .website-form-success {
    min-height: 360px;
    padding: 48px 18px;
  }

  .website-form-success-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 24px;
    font-size: 30px;
  }

  .website-form-success h2 {
    font-size: 34px;
  }

  .website-form-success p {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .website-field input,
  .website-field textarea,
  .website-submit {
    transition: none;
  }
}
