.hs-home-calc {
  margin-block: 22px 30px;
  scroll-margin-top: 110px;
}
.hs-home-calc__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  align-items: center;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(171, 146, 189, .34);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 84% 45%, rgba(210, 223, 238, .56), transparent 36%),
    radial-gradient(ellipse at 11% 10%, rgba(242, 227, 238, .66), transparent 42%),
    linear-gradient(118deg, rgba(250, 245, 250, .97), rgba(250, 246, 237, .94) 55%, rgba(237, 244, 248, .96));
  box-shadow: 0 24px 70px rgba(10, 7, 31, .19), inset 0 1px 0 rgba(255, 255, 255, .88);
  isolation: isolate;
}
.hs-home-calc__panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 12% 26%, rgba(183, 145, 87, .42) 0 1px, transparent 1.7px),
    radial-gradient(circle at 79% 18%, rgba(111, 121, 177, .26) 0 1px, transparent 1.6px),
    radial-gradient(circle at 64% 81%, rgba(191, 151, 174, .3) 0 1px, transparent 1.7px);
  background-size: 120px 120px, 170px 170px, 210px 210px;
  content: "";
  pointer-events: none;
}
.hs-home-calc__content {
  position: relative;
  z-index: 2;
  padding: clamp(30px, 4vw, 54px) clamp(24px, 4vw, 56px);
}
.hs-home-calc__eyebrow {
  margin: 0 0 12px;
  color: #80699a;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .22em;
  line-height: 1.45;
}
.hs-home-calc__content h2 {
  max-width: 650px;
  margin: 0;
  color: #30213f;
  font-family: var(--hs-serif, Georgia, serif);
  font-size: clamp(2rem, 3.3vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.05;
  text-wrap: balance;
}
.hs-home-calc__lead {
  max-width: 650px;
  margin: 14px 0 23px;
  color: #5e566a;
  font-size: .94rem;
  line-height: 1.62;
}
.hs-home-calc__form { display: grid; gap: 14px; }
.hs-home-calc__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.hs-home-calc__field { display: grid; min-width: 0; gap: 6px; }
.hs-home-calc__field > label:not(.hs-home-calc__unknown) {
  color: #443a52;
  font-size: .74rem;
  font-weight: 750;
}
.hs-home-calc__field input:not([type="checkbox"]),
.hs-home-calc__field select {
  width: 100%;
  min-height: 47px;
  padding: 10px 13px;
  border: 1px solid rgba(98, 77, 118, .2);
  border-radius: 13px;
  outline: none;
  color: #31283a;
  background: rgba(255, 255, 255, .74);
  box-shadow: inset 0 1px 3px rgba(55, 38, 70, .035);
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.hs-home-calc__field input[type="date"] {
  -webkit-appearance: auto;
  appearance: auto;
  color-scheme: light;
  cursor: text;
}
.hs-home-calc__field input[type="date"]::-webkit-calendar-picker-indicator {
  min-width: 22px;
  min-height: 22px;
  padding: 2px;
  opacity: .78;
  cursor: pointer;
}
.hs-home-calc__field input::placeholder { color: #938b9b; opacity: 1; }
.hs-home-calc__field input:focus,
.hs-home-calc__field select:focus {
  border-color: #8d74a6;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(141, 116, 166, .15);
}
.hs-home-calc__field small { color: #82798a; font-size: .68rem; line-height: 1.35; }
.hs-home-calc__unknown {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 27px;
  color: #675d70;
  font-size: .72rem;
  cursor: pointer;
}
.hs-home-calc__unknown input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 0;
  accent-color: #765a92;
}
.hs-home-calc__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: fit-content;
  min-width: min(100%, 280px);
  min-height: 50px;
  margin-top: 2px;
  padding: 0 22px;
  border: 1px solid rgba(109, 75, 136, .24);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(125deg, #70538d, #54416f 63%, #725a91);
  box-shadow: 0 10px 23px rgba(65, 44, 82, .23), inset 0 1px 0 rgba(255, 255, 255, .2);
  font-size: .87rem;
  font-weight: 750;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.hs-home-calc__submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 13px 27px rgba(65, 44, 82, .27), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.hs-home-calc__submit:focus-visible { outline: 3px solid rgba(112, 83, 141, .35); outline-offset: 3px; }
.hs-home-calc__submit:disabled { opacity: .56; cursor: not-allowed; }
.hs-home-calc__submit span { font-size: 1.18rem; line-height: 1; }
.hs-home-calc__note {
  max-width: 690px;
  margin: 0;
  color: #777080;
  font-size: .69rem;
  line-height: 1.5;
}
.hs-home-calc__error {
  margin: 0;
  color: #8d3046;
  font-size: .78rem;
  line-height: 1.45;
}
.hs-home-calc__art {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 460px;
  place-items: center;
  align-self: stretch;
  overflow: hidden;
  background: radial-gradient(ellipse at 54% 54%, rgba(255, 255, 255, .68), rgba(221, 220, 241, .13) 47%, transparent 72%);
}
.hs-home-calc__art-ring {
  position: absolute;
  display: block;
  width: min(27vw, 365px);
  aspect-ratio: 1;
  border: 1px solid rgba(157, 119, 169, .27);
  border-radius: 50%;
  transform: rotate(-17deg) scaleY(.87);
}
.hs-home-calc__art-ring--two {
  width: min(21vw, 284px);
  border-color: rgba(185, 143, 82, .35);
  transform: rotate(28deg) scaleY(1.12);
}
.hs-home-calc__art img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 535px);
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 15px 28px rgba(32, 39, 73, .14));
}
.hs-home-calc__art-caption {
  position: absolute;
  z-index: 2;
  top: 15%;
  right: 17%;
  color: #b88b49;
  font-size: 1.2rem;
  text-shadow: 0 0 12px rgba(205, 166, 101, .45);
}
.hs-home-calc__handoff {
  margin: 18px auto;
  padding: 15px 18px;
  border: 1px solid rgba(146, 119, 164, .3);
  border-radius: 15px;
  color: #493c5a;
  background: linear-gradient(110deg, rgba(249, 244, 251, .98), rgba(245, 246, 251, .96));
  box-shadow: 0 8px 24px rgba(27, 17, 45, .09);
  font-size: .88rem;
  line-height: 1.55;
}
.hs-home-calc__handoff[hidden] { display: none !important; }
.hs-nav .menu-item--free-tools > a { font-weight: 750; }
.home .hs-nav .menu-item--free-tools > a { color: #f3bd62; }

@media (max-width: 980px) {
  .hs-home-calc__panel { grid-template-columns: minmax(0, 1.12fr) minmax(260px, .88fr); }
  .hs-home-calc__content { padding: 34px 30px; }
  .hs-home-calc__art { min-height: 410px; }
  .hs-home-calc__art img { width: min(112%, 480px); }
}
@media (max-width: 760px) {
  .hs-home-calc { margin-block: 16px 24px; }
  .hs-home-calc__panel { grid-template-columns: 1fr; min-height: 0; }
  .hs-home-calc__content { padding: 30px 26px 22px; }
  .hs-home-calc__content h2 { max-width: 620px; font-size: clamp(2rem, 7vw, 2.9rem); }
  .hs-home-calc__lead { margin-bottom: 19px; }
  .hs-home-calc__art { min-height: 290px; max-height: 360px; margin-top: -6px; }
  .hs-home-calc__art img { width: min(82vw, 390px); max-height: 350px; }
  .hs-home-calc__art-ring { width: min(66vw, 290px); }
  .hs-home-calc__art-ring--two { width: min(50vw, 220px); }
}
@media (max-width: 520px) {
  .hs-home-calc__panel { border-radius: 21px; }
  .hs-home-calc__content { padding: 25px 18px 19px; }
  .hs-home-calc__eyebrow { font-size: .62rem; letter-spacing: .15em; }
  .hs-home-calc__content h2 { font-size: clamp(1.8rem, 8.2vw, 2.35rem); }
  .hs-home-calc__lead { font-size: .87rem; line-height: 1.55; }
  .hs-home-calc__fields { grid-template-columns: 1fr; gap: 12px; }
  .hs-home-calc__field input:not([type="checkbox"]),
  .hs-home-calc__field select { min-height: 48px; font-size: 16px; }
  .hs-home-calc__submit { width: 100%; min-height: 52px; }
  .hs-home-calc__note { font-size: .68rem; }
  .hs-home-calc__art { min-height: 250px; max-height: 290px; }
  .hs-home-calc__art img { width: min(84vw, 310px); max-height: 290px; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-home-calc__submit, .hs-home-calc__field input, .hs-home-calc__field select { transition: none; }
}
[dir="rtl"] .hs-home-calc__art-caption { right: auto; left: 17%; }
