html, body {
  width: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

.frame {
  display: flex;
  flex-direction: column;
  flex: 1; /* Fill remaining vertical space */
}

.hero {
  /* The hero/content area will grow to push the footer down */
  flex: 1; 
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8.68%;
  padding: 9.1% 10.6% 4%; /* Based on 1440px: (131/1440)*100, (152/1440)*100, etc. */
  position: relative;
  width: 100%;
  background-color: #40aaff1a;
}

/* Footer (group) will naturally appear at the bottom if hero is short,
   and will move down as hero grows, causing scrolling as needed */
.group {
  position: relative;
  width: 100%;
  background-color: var(--drake-blue);
  color: #fff;
  /* No special positioning needed */
}

.text-wrapper {
  width: 100%;
  font-family: "Tilt Warp", Helvetica;
  font-weight: 400;
  color: #1b72bc;
  font-size: 5rem;
  line-height: 1.2;
  margin-top: 0;
  word-break: break-word;
}

.div {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.div-2 {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  align-items: flex-start;
  gap: 2rem;
}

.div-3 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  width: 100%;
}

.div-4 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
}

.text-wrapper-2 {
  font-family: "Source Sans Pro", Helvetica;
  font-weight: 700;
  color: #1b72bc;
  font-size: 2rem;
  line-height: 1.3;
  margin-top: 0;
}

.p {
  font-family: "Source Sans Pro", Helvetica;
  font-weight: 400;
  color: #48484a;
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--m3key-colorsprimary);
  border-radius: 100px;
}

.state-layer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 2rem;
  width: 100%;
}

.label-text {
  font-family: "Source Sans Pro", Helvetica;
  font-weight: 700;
  color: var(--m3syslighton-primary);
  font-size: 1.25rem;
  text-align: center;
  line-height: normal;
  margin: 0;
}

.div-5 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.div-6 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.more-tools-to-comple {
  font-family: "Source Sans Pro", Helvetica;
  font-weight: 700;
  color: var(--drake-gray);
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
}

.line {
  width: 100%;
  height: 1px;
  object-fit: cover;
}

.frame-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
}

.div-7 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  width: 100%;
}

.more-tools-to-comple-2 {
  font-family: "Source Sans Pro", Helvetica;
  font-weight: 700;
  color: #1b75bc;
  font-size: 2rem;
  line-height: 1.3;
  margin: 0;
  max-width: 100%;
  word-break: break-word;
}

.div-8 {
  display: flex;
  gap: 1rem; /* Adds spacing between buttons */
}

.illogo-wrapper,
.ND-tax-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 43px;
  border: 3px solid #1b75bc;
  padding: 0.1rem 1.6rem;
  flex: 1; /* Makes them take up equal width */
  max-width: 50%; /* Ensures they don't exceed half of the parent width */
  box-sizing: border-box; /* Ensures padding is included in width calculation */
}

.illogo,
.ND-tax {
  width: auto;
  height: auto;
  max-height: 50px;
}

.more-tools-to-comple-3 {
  font-family: "Source Sans Pro", Helvetica;
  font-weight: 400;
  color: var(--drake-gray);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

.get-started {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 2.25rem;
  padding: 4rem 2rem;
  background-color: var(--drake-blue);
}

.div-9 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.div-10 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.text-wrapper-3 {
  font-family: "Source Sans Pro", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0;
}

.layer {
  max-width: 234px;
  height: auto;
}

.element-drake-software {
  font-family: "Source Sans Pro", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 1.125rem;
  line-height: 1.3;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .text-wrapper {
    font-size: 4rem;
  }

  .text-wrapper-2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 1rem 2rem;
  }

  .div {
    flex-direction: column;
    gap: 2rem;
  }

  /* Hide the large image on the right when screen is narrower */
  .img-2 {
    display: none;
  }

  .more-tools-to-comple-2 {
    font-size: 1.5rem;
  }

  .text-wrapper {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .text-wrapper {
    font-size: 2rem;
  }

  .text-wrapper-2 {
    font-size: 1.5rem;
  }

  .label-text {
    font-size: 1rem;
    padding: 0;
  }

  .more-tools-to-comple-2 {
    font-size: 1.25rem;
  }

  .get-started {
    padding: 2rem 1rem;
  }

  .text-wrapper-3 {
    font-size: 1.25rem;
  }

  .element-drake-software {
    font-size: 1rem;
  }
}