.money-page {
  background: #fff;
  color: #071827;
}

.money-main {
  overflow: hidden;
}

.money-shell {
  width: min(100% - 48px, 1312px);
  margin: 0 auto;
}

.money-hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 96px 0 76px;
  color: #fff;
}

.money-hero-media,
.money-event-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.money-hero-media img,
.money-event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.money-hero-media img {
  object-position: center;
}

.money-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 98, 151, 0.72), rgba(38, 139, 200, 0.52) 48%, rgba(92, 163, 218, 0.22)),
    rgba(32, 135, 196, 0.24);
}

.money-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.65fr);
  align-items: center;
  gap: clamp(40px, 8vw, 132px);
}

.money-mark {
  width: 81px;
  height: auto;
  margin-bottom: 34px;
}

.money-title {
  max-width: 790px;
  font-size: clamp(3rem, 5.55vw, 6rem);
  line-height: 0.93;
  /* letter-spacing: -0.035em; */
  font-weight: 400;
}

.money-title a {
  border-bottom: 2px solid currentColor;
}

.money-intro {
  max-width: 660px;
  margin-top: 34px;
  font-size: clamp(1.2rem, 1.55vw, 1.6rem);
  line-height: 1.24;
  /* letter-spacing: -0.015em; */
}

.money-form-card {
  justify-self: end;
  width: min(100%, 350px);
  border-radius: 30px;
  background: #fff;
  padding: 34px 30px;
  color: #16151f;
  box-shadow: 0 24px 70px rgba(7, 24, 39, 0.18);
}

.money-form-title {
  margin-bottom: 18px;
  color: #514a60;
  font-size: 38px;
  line-height: 0.95;
  /* letter-spacing: -0.02em; */
  font-weight: 400;
}

.money-hubspot-form .hbspt-form form {
  display: block;
}

.money-hubspot-form fieldset,
.money-hubspot-form .form-columns-1,
.money-hubspot-form .form-columns-2,
.money-hubspot-form .form-columns-3 {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

.money-hubspot-form .hs-form-field,
.money-hubspot-form .field,
.money-hubspot-form .hs-form fieldset[class*="form-columns"] .hs-form-field {
  float: none !important;
  width: 100% !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
}

.money-hubspot-form .input {
  margin: 0 !important;
}

.money-hubspot-form .hs-form-field > label,
.money-hubspot-form .legal-consent-container,
.money-hubspot-form .hs-richtext {
  color: rgba(22, 21, 31, 0.62);
  font-size: 12px;
  line-height: 1.35;
}

.money-hubspot-form .hs-form-field > label {
  display: none;
}

.money-hubspot-form .form-columns-0 {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 18px !important;
}

.money-hubspot-form .form-columns-0 .hs-richtext h1 {
  color: #514a60;
  font-size: 32px;
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.money-hubspot-form input:not([type="checkbox"]):not([type="radio"]),
.money-hubspot-form select,
.money-hubspot-form textarea {
  width: 100% !important;
  min-height: 48px;
  border: 1px solid rgba(22, 21, 31, 0.14);
  border-radius: 8px;
  background: #f8f8f8;
  padding: 0 14px;
  color: #16151f;
  font-size: 13px;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(22, 21, 31, 0.04);
}

.money-hubspot-form textarea {
  min-height: 96px;
  padding-top: 12px;
}

.money-hubspot-form input:not([type="checkbox"]):not([type="radio"]):focus,
.money-hubspot-form select:focus,
.money-hubspot-form textarea:focus {
  border-color: #219dfb;
}

.money-hubspot-form .inputs-list {
  display: grid;
  gap: 10px;
  margin: 0 !important;
  padding: 0 !important;
}

.money-hubspot-form .inputs-list li {
  margin: 0 !important;
  padding: 0 !important;
}

.money-hubspot-form .hs-form-booleancheckbox-display {
  display: grid !important;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: #16151f;
  font-size: 13px;
  line-height: 1.35;
}

.money-hubspot-form .inputs-list label {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

.money-hubspot-form .hs-form-booleancheckbox-display {
  width: 100% !important;
}

.money-hubspot-form .inputs-list .hs-form-booleancheckbox-display {
  display: grid !important;
  grid-template-columns: 18px 1fr;
}

.money-hubspot-form input[type="checkbox"],
.money-hubspot-form input[type="radio"] {
  appearance: auto;
  width: 16px !important;
  height: 16px !important;
  min-height: 0 !important;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  border-radius: 3px;
  accent-color: #609af5;
}

.money-hubspot-form .hs-form-booleancheckbox,
.money-hubspot-form .hs-dependent-field {
  margin: 0 0 12px !important;
}

.money-hubspot-form .legal-consent-container {
  margin-top: 6px;
}

.money-hubspot-form .legal-consent-container p,
.money-hubspot-form .legal-consent-container span,
.money-hubspot-form .hs-richtext p {
  margin: 0;
}

.money-hubspot-form .hs-button {
  min-height: 42px;
  border: 0;
  border-radius: 9999px;
  background: #609af5;
  padding: 0 24px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease;
}

.money-hubspot-form .hs-button:hover {
  transform: translateY(-2px);
  background: #219dfb;
}

.money-hubspot-form .hs_submit,
.money-hubspot-form .hs-submit,
.money-hubspot-form .actions {
  width: 100%;
}

.money-hubspot-form .actions {
  margin: 4px 0 0 !important;
  padding: 0 !important;
}

.money-hubspot-form .hs_submit .hs-button,
.money-hubspot-form .hs-submit .hs-button,
.money-hubspot-form input[type="submit"].hs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 92px;
  min-height: 43px;
  border-radius: 9999px;
  background: #609af5;
  padding: 0 24px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  box-shadow: none;
}

.money-hubspot-form .hs-error-msgs {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 7px 0 0 !important;
  padding: 0;
  color: #b51f1f;
  font-size: 12px;
}

.money-hubspot-form .hs-error-msgs li,
.money-hubspot-form .hs-error-msgs label {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  color: #b51f1f;
  font-size: 12px;
  line-height: 1.25;
  white-space: normal;
}

.money-form-error {
  margin-top: 12px;
  color: #b51f1f;
  font-size: 13px;
}

.money-reasons {
  background: #f1f1f1;
  padding: 132px 0 160px;
}

.money-section-title {
  max-width: 810px;
  font-size: clamp(2.8rem, 4.4vw, 5rem);
  line-height: 0.94;
  /* letter-spacing: -0.035em; */
  font-weight: 400;
}

.money-section-title span {
  color: #219dfb;
}

.money-reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 56px;
}

.money-reason-card {
  min-height: 255px;
  background: #fff;
  padding: 34px 26px 28px;
}

.money-reason-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 36px;
  object-fit: contain;
}

.money-reason-card h3 {
  max-width: 270px;
  color: #168ef7;
  font-size: 22px;
  line-height: 1.05;
  /* letter-spacing: -0.012em; */
  font-weight: 400;
}

.money-reason-card p {
  margin-top: 18px;
  color: rgba(7, 24, 39, 0.62);
  font-size: 15px;
  line-height: 1.16;
  /* letter-spacing: -0.008em; */
}

.money-event {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 104px 0;
}

.money-event-media img {
  object-position: center right;
}

.money-event::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* background: linear-gradient(90deg, rgba(210, 234, 252, 0.96) 0%, rgba(207, 232, 250, 0.82) 46%, rgba(207, 232, 250, 0.2) 100%); */
}

.money-event-copy {
  max-width: 620px;
}

.money-eyebrow {
  margin-bottom: 18px;
  color: #071827;
  font-size: 15px;
  line-height: 1.1;
}

.money-event-title {
  max-width: 650px;
  font-size: clamp(2.4rem, 3.3vw, 4rem);
  line-height: 1;
  /* letter-spacing: -0.032em; */
  font-weight: 400;
}

.money-event-meta {
  margin-top: 34px;
  color: #071827;
  font-size: 15px;
  line-height: 1.28;
}

.money-event-copy-text {
  margin-top: 32px;
  max-width: 560px;
  color: rgba(7, 24, 39, 0.88);
  font-size: 16px;
  line-height: 1.18;
  /* letter-spacing: -0.008em; */
}

.money-event-copy-text p + p {
  margin-top: 22px;
}

.money-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 36px;
  border-radius: 9999px;
  background: #219dfb;
  padding: 0 36px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease;
}

.money-button:hover {
  transform: translateY(-2px);
  background: #0d86df;
}

.money-builders {
  background: #fff;
  padding: 112px 0 148px;
}

.money-builders-title {
  color: #050608;
  font-size: clamp(3rem, 4.5vw, 5rem);
  line-height: 0.95;
  /* letter-spacing: -0.035em; */
  font-weight: 400;
}

.money-builders-intro {
  margin-top: 20px;
  color: #050608;
  font-size: 16px;
  line-height: 1.35;
}

.money-people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 52px 96px;
  margin-top: 62px;
}

.money-person {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 16px;
}

.money-person img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  background: #e8eef5;
}

.money-person:nth-child(3n + 1) img {
  object-position: left center;
}

.money-person:nth-child(3n + 2) img {
  object-position: center;
}

.money-person:nth-child(3n + 3) img {
  object-position: right center;
}

.money-person h3 {
  color: #050608;
  font-size: 16px;
  line-height: 1.05;
  font-weight: 700;
}

.money-person p {
  margin-top: 4px;
  color: #050608;
  font-size: 15px;
  line-height: 1.05;
  /* letter-spacing: -0.01em; */
}

.money-modal-open {
  overflow: hidden;
}

.money-modal[hidden] {
  display: none;
}

.money-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 6, 8, 0.62);
}

.money-modal-card {
  position: relative;
  width: min(100%, 430px);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border-radius: 30px;
  background: #fff;
  padding: 34px 30px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.money-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #f2f2f2;
  color: #071827;
  cursor: pointer;
}

@media (max-width: 1023px) {
  .money-shell {
    width: min(100% - 40px, 860px);
  }

  .money-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .money-form-card {
    justify-self: start;
  }

  .money-reasons-grid,
  .money-people-grid {
    grid-template-columns: 1fr 1fr;
  }

  .money-event::after {
    background: linear-gradient(90deg, rgba(210, 234, 252, 0.97) 0%, rgba(207, 232, 250, 0.88) 62%, rgba(207, 232, 250, 0.45) 100%);
  }
}

@media (max-width: 767px) {
  .money-shell {
    width: min(100% - 32px, 560px);
  }

  .money-hero {
    min-height: auto;
    padding: 72px 0 54px;
  }

  .money-mark {
    margin-bottom: 28px;
  }

  .money-form-card {
    width: 100%;
    padding: 28px 22px;
    border-radius: 24px;
  }

  .money-form-title {
    font-size: 32px;
  }

  .money-reasons {
    padding: 78px 0 92px;
  }

  .money-reasons-grid,
  .money-people-grid {
    grid-template-columns: 1fr;
  }

  .money-reason-card {
    min-height: 220px;
  }

  .money-event {
    min-height: auto;
    padding: 82px 0;
  }

  .money-event-media img {
    object-position: 62% center;
  }

  .money-event::after {
    background: rgba(210, 234, 252, 0.86);
  }

  .money-builders {
    padding: 78px 0 96px;
  }

  .money-people-grid {
    gap: 30px;
    margin-top: 44px;
  }
}
