.nyw-footer-conversion {
  width: 100%;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff;
  word-break: keep-all;
}

.nyw-footer-conversion-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: 32px;
}

.nyw-footer-conversion-primary {
  background: #0b1a33;
}

.nyw-footer-estimate-link {
  display: block;
  padding: 18px 20px;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.nyw-footer-estimate-link h2 {
  margin: 0;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.nyw-footer-estimate-link:hover h2 {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nyw-footer-partner-disclosure {
  position: relative;
  max-width: 100%;
}

.nyw-footer-partner-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  text-align: right;
  color: #3a536f;
  cursor: pointer;
  transition: color .18s ease;
}

.nyw-footer-conversion-partner {
  padding-block: 2px;
  border-top: 1px solid #dfe6ef;
  background: #eef2f7;
  color: #253951;
}

.nyw-footer-partner-trigger:hover,
.nyw-footer-partner-trigger[aria-expanded="true"] {
  color: #103d91;
}

.nyw-footer-partner-popover {
  position: absolute;
  z-index: 5;
  inset: auto 0 100% auto;
  width: min(310px, calc(100vw - 32px));
  padding-bottom: 8px;
  box-sizing: border-box;
}

.nyw-footer-partner-card {
  padding: 15px 16px 10px;
  border: 1px solid #dfe6ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgb(11 26 51 / 14%);
  font-size: 14px;
  line-height: 1.5;
}

.nyw-footer-partner-card p {
  margin: 0;
}

.nyw-footer-partner-join {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #103d91;
  font-weight: 750;
  text-decoration: none;
}

.nyw-footer-partner-join:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nyw-footer-conversion a:focus-visible,
.nyw-footer-partner-trigger:focus-visible {
  outline: 3px solid #7495d8;
  outline-offset: 3px;
}

.nyw-footer-conversion .nyw-footer-estimate-link:focus-visible {
  outline-offset: -4px;
}

@media (max-width: 620px) {
  .nyw-footer-conversion-inner {
    padding-inline: 16px;
  }

  .nyw-footer-estimate-link {
    padding-block: 14px;
  }

  .nyw-footer-conversion-partner {
    padding-block: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nyw-footer-partner-trigger {
    transition: none;
  }
}
