body.bizfin-home-active,
body.bizfin-standalone {
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: #f6f4f0;
}

body.bizfin-home-active #root {
  display: none;
}

.bizfin-home-shell {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  overflow: hidden;
  background: #eef5f2;
  color: #0d0d0d;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body.bizfin-home-active .bizfin-home-shell,
body.bizfin-standalone .bizfin-home-shell {
  display: block;
}

.bizfin-home-frame {
  position: relative;
  min-height: 100vh;
  padding: 38px 48px 60px;
}

.bizfin-home-topbar {
  position: relative;
  z-index: 2;
  min-height: 123px;
}

.bizfin-home-logo {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 123px;
  height: 123px;
  overflow: hidden;
  border-radius: 2px;
  z-index: 3;
}

.bizfin-home-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.bizfin-home-sites {
  position: absolute;
  top: 4px;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #2d2d2d;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  z-index: 3;
}

.bizfin-home-sites svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
}

.bizfin-home-center {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(100vh - 154px);
  align-items: center;
  justify-content: center;
  text-align: center;
}

body.bizfin-home-active .bizfin-home-center {
  min-height: calc(100vh - 221px);
  padding-inline: clamp(24px, 8vw, 108px);
}

.bizfin-contact-center {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(100vh - 154px);
  align-items: center;
  justify-content: center;
}

.bizfin-home-content {
  width: min(980px, 100%);
  margin-top: -28px;
}

body.bizfin-home-active .bizfin-home-content {
  margin: 0 auto;
}

.bizfin-home-kicker,
.bizfin-home-title,
.bizfin-home-copy,
.bizfin-home-cta {
  opacity: 0;
  animation: bizfin-fade-up 0.9s ease forwards;
}

.bizfin-home-kicker {
  margin: 0 0 36px;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0;
  animation-delay: 0.08s;
}

.bizfin-home-title {
  margin: 0;
  font-family: Baskerville, Georgia, "Times New Roman", serif;
  font-size: clamp(62px, 6.25vw, 82px);
  line-height: 0.94;
  font-weight: 400;
  letter-spacing: -0.04em;
  animation-delay: 0.2s;
}

.bizfin-home-copy {
  width: min(860px, 100%);
  margin: 20px auto 0;
  font-size: clamp(24px, 2.35vw, 33px);
  line-height: 1.48;
  font-weight: 400;
  animation-delay: 0.34s;
}

.bizfin-home-copy span {
  display: block;
}

.bizfin-home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  margin-top: 48px;
  padding: 18px 36px;
  border: 1px solid rgba(120, 180, 146, 0.16);
  border-radius: 23px;
  background: #effff6;
  color: #111;
  text-decoration: none;
  font-size: 30px;
  line-height: 1;
  font-weight: 400;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
  animation-delay: 0.5s;
  transform: scale(1);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.bizfin-home-cta:hover,
.bizfin-home-cta:focus-visible {
  transform: translateY(-2px) scale(1.065);
  background: #ffffff;
  border-color: rgba(101, 151, 122, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 18px 34px rgba(61, 91, 74, 0.16);
}

.bizfin-home-cta:focus-visible {
  outline: 2px solid rgba(70, 98, 89, 0.35);
  outline-offset: 3px;
}

.bizfin-contact-card {
  width: min(680px, 100%);
  padding: 48px 44px 42px;
  border: 1px solid rgba(120, 149, 140, 0.18);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 80px rgba(98, 123, 116, 0.12);
}

.bizfin-contact-kicker {
  margin-bottom: 14px;
  animation-delay: 0.06s;
}

.bizfin-contact-title {
  margin: 0 0 28px;
  color: #18221e;
  font-family: Baskerville, Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.04em;
  opacity: 0;
  animation: bizfin-fade-up 0.9s ease forwards;
  animation-delay: 0.16s;
}

.bizfin-contact-form {
  display: grid;
  gap: 14px;
}

.bizfin-contact-label {
  color: #23312b;
  font-size: 16px;
  font-weight: 500;
  opacity: 0;
  animation: bizfin-fade-up 0.9s ease forwards;
  animation-delay: 0.24s;
}

.bizfin-contact-input {
  width: 100%;
  box-sizing: border-box;
  padding: 16px 18px;
  border: 1px solid rgba(101, 126, 118, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: #17221e;
  font: inherit;
  opacity: 0;
  animation: bizfin-fade-up 0.9s ease forwards;
  animation-delay: 0.3s;
}

.bizfin-contact-input:focus {
  outline: none;
  border-color: rgba(101, 126, 118, 0.55);
  box-shadow: 0 0 0 4px rgba(168, 185, 176, 0.22);
}

.bizfin-contact-textarea {
  resize: vertical;
  min-height: 168px;
}

.bizfin-contact-submit {
  margin-top: 10px;
  justify-self: start;
  min-width: 220px;
  padding: 15px 28px;
  font-size: 24px;
  animation-delay: 0.42s;
}

.bizfin-thanks-card {
  text-align: center;
}

.bizfin-thanks-copy {
  max-width: 540px;
  margin: 0 auto;
  color: #304039;
  font-size: 20px;
  line-height: 1.5;
  opacity: 0;
  animation: bizfin-fade-up 0.9s ease forwards;
  animation-delay: 0.28s;
}

.bizfin-thanks-card .bizfin-contact-submit {
  justify-self: center;
}

.bizfin-home-pattern {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 1;
}

.bizfin-home-pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12));
}

.bizfin-home-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@keyframes bizfin-fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .bizfin-home-shell {
    position: absolute;
    min-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .bizfin-home-frame {
    min-height: 100vh;
    padding: 28px 20px 40px;
  }

  .bizfin-home-center,
  .bizfin-contact-center {
    min-height: auto;
    padding: 28px 0 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bizfin-home-kicker,
  .bizfin-home-title,
  .bizfin-home-copy,
  .bizfin-home-cta,
  .bizfin-contact-title,
  .bizfin-contact-label,
  .bizfin-contact-input,
  .bizfin-thanks-copy {
    opacity: 1;
    animation: none;
  }

  .bizfin-home-cta {
    transition: none;
  }

  .bizfin-home-cta:hover,
  .bizfin-home-cta:focus-visible {
    transform: none;
  }

  .bizfin-home-video {
    display: none;
  }

  .bizfin-home-pattern {
    background: url("./bizfin-background.jpeg") center center / cover no-repeat;
  }
}

@media (max-height: 720px) {
  .bizfin-home-frame {
    padding: 22px 34px 26px;
  }

  .bizfin-home-topbar {
    min-height: 99px;
  }

  .bizfin-home-logo {
    width: 99px;
    height: 99px;
  }

  .bizfin-home-sites {
    font-size: 16px;
  }

  .bizfin-home-sites svg {
    width: 24px;
    height: 24px;
  }

  .bizfin-home-center {
    min-height: calc(100vh - 104px);
    align-items: flex-start;
    padding-top: 34px;
  }

  body.bizfin-home-active .bizfin-home-center {
    min-height: calc(100vh - 147px);
    align-items: center;
    padding-top: 0;
  }

  .bizfin-contact-center {
    min-height: calc(100vh - 104px);
    align-items: flex-start;
    padding-top: 28px;
  }

  .bizfin-home-content {
    width: min(760px, 100%);
    margin-top: 0;
  }

  .bizfin-home-kicker {
    margin-bottom: 16px;
    font-size: 18px;
  }

  .bizfin-home-title {
    font-size: clamp(42px, 4.2vw, 58px);
    line-height: 0.98;
  }

  .bizfin-home-copy {
    width: min(720px, 100%);
    margin-top: 10px;
    font-size: clamp(16px, 2vw, 24px);
    line-height: 1.35;
  }

  .bizfin-home-cta {
    min-width: 204px;
    margin-top: 22px;
    padding: 14px 26px;
    border-radius: 20px;
    font-size: 22px;
  }

  .bizfin-home-pattern {
    inset: 0;
    background-position: center center;
  }

  .bizfin-contact-card {
    width: min(620px, 100%);
    padding: 34px 28px 30px;
    border-radius: 26px;
  }

  .bizfin-contact-title {
    margin-bottom: 22px;
    font-size: clamp(32px, 5vw, 44px);
  }

  .bizfin-contact-textarea {
    min-height: 134px;
  }

  .bizfin-thanks-copy {
    font-size: 18px;
  }

  .bizfin-contact-submit {
    min-width: 188px;
    padding: 13px 22px;
    font-size: 20px;
  }
}

@media (max-height: 560px) {
  .bizfin-home-frame {
    padding: 16px 24px 18px;
  }

  .bizfin-home-topbar {
    min-height: 84px;
  }

  .bizfin-home-logo {
    width: 84px;
    height: 84px;
  }

  .bizfin-home-sites {
    gap: 8px;
    font-size: 15px;
  }

  .bizfin-home-center {
    min-height: calc(100vh - 82px);
    padding-top: 16px;
  }

  body.bizfin-home-active .bizfin-home-center {
    min-height: calc(100vh - 118px);
    padding-top: 0;
  }

  .bizfin-contact-center {
    min-height: calc(100vh - 82px);
    align-items: flex-start;
    padding-top: 10px;
  }

  .bizfin-home-kicker {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .bizfin-home-title {
    font-size: clamp(34px, 3.4vw, 46px);
  }

  .bizfin-home-copy {
    margin-top: 8px;
    font-size: clamp(14px, 1.4vw, 20px);
  }

  .bizfin-home-cta {
    min-width: 176px;
    margin-top: 16px;
    padding: 12px 22px;
    font-size: 18px;
  }

  .bizfin-home-pattern {
    inset: 0;
    background-position: center center;
  }

  .bizfin-contact-card {
    padding: 24px 20px 20px;
    border-radius: 22px;
  }

  .bizfin-contact-title {
    margin-bottom: 18px;
    font-size: clamp(28px, 7vw, 36px);
  }

  .bizfin-contact-input {
    padding: 14px 16px;
    border-radius: 16px;
  }

  .bizfin-contact-textarea {
    min-height: 110px;
  }

  .bizfin-thanks-copy {
    font-size: 16px;
  }

  .bizfin-contact-submit {
    min-width: 164px;
    padding: 11px 18px;
    font-size: 17px;
  }
}

@media (max-width: 900px) {
  .bizfin-home-frame {
    padding: 28px 24px 40px;
  }

  .bizfin-home-topbar {
    min-height: 96px;
  }

  .bizfin-home-logo {
    width: 96px;
    height: 96px;
  }

  .bizfin-home-logo img {
    width: 100%;
    height: 100%;
  }

  .bizfin-home-sites {
    gap: 10px;
    font-size: 16px;
  }

  .bizfin-home-sites svg {
    width: 25px;
    height: 25px;
  }

  .bizfin-home-content {
    margin-top: 0;
  }

  body.bizfin-home-active .bizfin-home-center {
    min-height: calc(100vh - 164px);
  }

  .bizfin-home-kicker {
    margin-bottom: 22px;
    font-size: 20px;
  }

  .bizfin-home-copy {
    margin-top: 16px;
    font-size: clamp(20px, 5vw, 28px);
  }

  .bizfin-home-cta {
    min-width: 220px;
    margin-top: 34px;
    padding: 16px 30px;
    font-size: 24px;
  }

  .bizfin-home-pattern {
    inset: 0;
    background-position: center center;
  }
}

@media (max-width: 600px) {
  body.bizfin-home-active {
    overflow: auto;
  }

  .bizfin-home-frame {
    min-height: 100vh;
    padding: 22px 18px 28px;
  }

  .bizfin-home-topbar {
    align-items: center;
  }

  .bizfin-home-center {
    min-height: calc(100vh - 110px);
    align-items: flex-start;
    padding-top: 54px;
  }

  body.bizfin-home-active .bizfin-home-center {
    min-height: calc(100vh - 146px);
    align-items: center;
    padding-top: 0;
    padding-inline: 18px;
  }

  .bizfin-contact-center {
    min-height: calc(100vh - 110px);
    align-items: flex-start;
    padding-top: 34px;
  }

  .bizfin-home-content {
    margin-top: 0;
  }

  .bizfin-home-kicker {
    font-size: 18px;
  }

  .bizfin-home-title {
    font-size: clamp(42px, 13vw, 56px);
  }

  .bizfin-home-copy {
    font-size: 18px;
    line-height: 1.5;
  }

  .bizfin-home-copy span {
    display: inline;
  }

  .bizfin-home-cta {
    min-width: 200px;
    font-size: 22px;
  }

  .bizfin-home-pattern {
    inset: 0;
    background-position: center center;
  }

  .bizfin-contact-card {
    width: 100%;
  }
}
