/* Mobile-first responsive design */
.body {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    align-items: center;
    padding: 0;
    position: relative;
    background-color: #ffffff;
    overflow-x: hidden;
  }
  
  .body .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    width: 100%;
    max-width: 600px;
    padding: 40px 20px;
    text-align: center;
    order: 2;
  }
  
  .body .logo-tagline {
    position: relative;
    width: 280px;
    height: 90px;
  }
  
  .body .logo {
    width: 280px;
    height: 90px;
    top: 0;
  }

  .body .header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    position: relative;
    width: 100%;
    flex: 0 0 auto;
    background-color: transparent;
    text-align: center;
  }
  
  .body .a-better-way-to-buy {
    position: relative;
    align-self: stretch;
    margin-top: -1.00px;
    font-family: var(--web-and-mobile-ubuntu-header-1-font-family);
    font-weight: var(--web-and-mobile-ubuntu-header-1-font-weight);
    color: transparent;
    font-size: var(--web-and-mobile-ubuntu-header-1-font-size);
    letter-spacing: var(--web-and-mobile-ubuntu-header-1-letter-spacing);
    line-height: var(--web-and-mobile-ubuntu-header-1-line-height);
    font-style: var(--web-and-mobile-ubuntu-header-1-font-style);
  }
  
  .body .text-wrapper {
    color: #3d3d3d;
    font-family: var(--web-and-mobile-ubuntu-header-1-font-family);
    font-style: var(--web-and-mobile-ubuntu-header-1-font-style);
    font-weight: var(--web-and-mobile-ubuntu-header-1-font-weight);
    letter-spacing: var(--web-and-mobile-ubuntu-header-1-letter-spacing);
    line-height: var(--web-and-mobile-ubuntu-header-1-line-height);
    font-size: var(--web-and-mobile-ubuntu-header-1-font-size);
  }
  
  .body .span {
    color: #e54360;
    font-family: var(--web-and-mobile-ubuntu-header-1-font-family);
    font-style: var(--web-and-mobile-ubuntu-header-1-font-style);
    font-weight: var(--web-and-mobile-ubuntu-header-1-font-weight);
    letter-spacing: var(--web-and-mobile-ubuntu-header-1-letter-spacing);
    line-height: var(--web-and-mobile-ubuntu-header-1-line-height);
    font-size: var(--web-and-mobile-ubuntu-header-1-font-size);
  }
  
  .body .midmark-s-new {
    position: relative;
    align-self: stretch;
    font-family: var(--web-and-mobile-ubuntu-header-2-font-family);
    font-weight: var(--web-and-mobile-ubuntu-header-2-font-weight);
    color: #3d3d3d;
    font-size: var(--web-and-mobile-ubuntu-header-2-font-size);
    letter-spacing: var(--web-and-mobile-ubuntu-header-2-letter-spacing);
    line-height: var(--web-and-mobile-ubuntu-header-2-line-height);
    font-style: var(--web-and-mobile-ubuntu-header-2-font-style);
  }
  
  .body .div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    width: 100%;
    flex: 0 0 auto;
    text-align: center;
  }
  
  .body .we-re-building-a {
    position: relative;
    align-self: stretch;
    margin-top: -1.00px;
    font-family: "Ubuntu-Regular", Helvetica;
    font-weight: 400;
    color: transparent;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 20px;
  }
  
  .body .text-wrapper-2 {
    color: #3d3d3d;
    font-family: var(--web-and-mobile-ubuntu-body-2-font-family);
    font-style: var(--web-and-mobile-ubuntu-body-2-font-style);
    font-weight: var(--web-and-mobile-ubuntu-body-2-font-weight);
    letter-spacing: var(--web-and-mobile-ubuntu-body-2-letter-spacing);
    line-height: var(--web-and-mobile-ubuntu-body-2-line-height);
    font-size: var(--web-and-mobile-ubuntu-body-2-font-size);
    display: block;
  }
  
  .body .text-wrapper-3 {
    color: #30a8df;
    text-decoration: underline;
    font-family: var(--web-and-mobile-ubuntu-link-2-font-family);
    font-style: var(--web-and-mobile-ubuntu-link-2-font-style);
    font-weight: var(--web-and-mobile-ubuntu-link-2-font-weight);
    letter-spacing: var(--web-and-mobile-ubuntu-link-2-letter-spacing);
    line-height: var(--web-and-mobile-ubuntu-link-2-line-height);
    font-size: var(--web-and-mobile-ubuntu-link-2-font-size);
  }
  
  .body .frame {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    flex: 0 0 auto;
  }
  
  .body .contained-button {
    display: inline-flex;
    min-width: 96px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 20px;
    position: relative;
    flex: 0 0 auto;
    background-color: #175788;
    border-radius: 20px;
    overflow: hidden;
  }
  
  .body .centered-mask {
    position: absolute;
    width: 12px;
    height: 12px;
    top: 14px;
    left: 91px;
    background-color: #000000;
    border-radius: 6px;
    opacity: 0;
  }
  
  .body .text {
    position: relative;
    width: fit-content;
    font-family: var(--web-and-mobile-ubuntu-button-2-high-emphasis-font-family);
    font-weight: var(--web-and-mobile-ubuntu-button-2-high-emphasis-font-weight);
    color: #ffffff;
    font-size: var(--web-and-mobile-ubuntu-button-2-high-emphasis-font-size);
    text-align: center;
    letter-spacing: var(
      --web-and-mobile-ubuntu-button-2-high-emphasis-letter-spacing
    );
    line-height: var(--web-and-mobile-ubuntu-button-2-high-emphasis-line-height);
    white-space: nowrap;
    font-style: var(--web-and-mobile-ubuntu-button-2-high-emphasis-font-style);
  }
  
  .body .centered-mask-2 {
    position: absolute;
    width: 12px;
    height: 12px;
    top: 14px;
    left: 56px;
    background-color: #000000;
    border-radius: 6px;
    opacity: 0;
  }
  
  .body .image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    order: 1;
  }
  
  .body .overlap {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url(../images/hero-image.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
  }
  
  .body .mask {
    display: none;
  }
  
  .feature-list {
    padding-left: 1.3rem;
    color: #3d3d3d;
    font-family: "Ubuntu", Helvetica;
    font-size: 14px;
    line-height: 20px;
    list-style-type: disc;
    text-align: left;
    width: 100%;
    max-width: 400px;
  }
  .feature-list li {
    margin-bottom: 8px;
  }

  /* Tablet Styles (768px and up) */
@media (min-width: 768px) and (max-width: 1023px) {
  .body .content {
    max-width: 600px;
    padding: 50px 40px;
  }
  
  .body .image {
    height: 400px;
  }
  
  .body .overlap {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url(../images/hero-image.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
  }
  
  .body .mask {
    display: none;
  }
  
  .body .logo-tagline {
    width: 300px;
    height: 96px;
    transform: scale(1.1);
  }
  
  .body .a-better-way-to-buy {
    font-size: 32px;
    line-height: 38px;
  }
  
  .body .midmark-s-new {
    font-size: 22px;
    line-height: 30px;
  }
}

/* Desktop Styles (1024px and up) */
@media (min-width: 1024px) {
  .body {
    flex-direction: row;
    height: 100vh;
    min-height: 820px;
    padding: 0 0 0 120px;
  }
  
  .body .content {
    flex: 1;
    max-width: none;
    align-items: flex-start;
    text-align: left;
    order: 1;
    height: 100vh;
    padding: 0;
    padding-right: 40px;
  }
  
  .body .header {
    align-items: flex-start;
    text-align: left;
  }
  
  .body .div {
    align-items: flex-start;
    text-align: left;
  }
  
  .body .image {
    width: 527px;
    height: 100vh;
    min-height: 820px;
    order: 2;
  }
  
  .body .overlap {
    display: flex;
    width: 1352px;
    height: 100%;
    left: -790px;
    padding: 239px 139px;
    justify-content: space-between;
    align-items: flex-start;
    flex-shrink: 0;
    background-image: url(../images/hero-image.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
  }
  
  .body .mask {
    display: block;
    position: absolute;
    width: 300px;
    height: 100%;
    top: 0;
    right: 300px;
    z-index: 2;
    object-fit: cover;
  }
  
  .body .logo-tagline {
    width: 280px;
    height: 90px;
  }
  
  .body .a-better-way-to-buy {
    font-size: var(--web-and-mobile-ubuntu-header-1-font-size);
    line-height: var(--web-and-mobile-ubuntu-header-1-line-height);
  }
  
  .body .midmark-s-new {
    font-size: var(--web-and-mobile-ubuntu-header-2-font-size);
    line-height: var(--web-and-mobile-ubuntu-header-2-line-height);
  }
}

/* Large Desktop Styles (1440px and up) */
@media (min-width: 1440px) {
  .body {
    max-width: 1440px;
    margin: 0 auto;
  }
}

/* Responsive button adjustments */
@media (max-width: 767px) {
  .body .frame {
    flex-direction: column;
    width: 100%;
    gap: 16px;
    align-items: center;
  }
  
  .body .contained-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    min-width: 200px;
  }
  
  .body .frame a {
    width: 100%;
    max-width: 280px;
  }
  
  .body .frame a .contained-button {
    width: 100%;
  }
}

/* Responsive text adjustments for mobile */
@media (max-width: 480px) {
  .body .content {
    padding: 20px 16px;
    gap: 24px;
  }
  
  .body .image {
    height: 250px;
  }
  
  .body .header {
    gap: 16px;
  }
  
  .body .div {
    gap: 24px;
  }
  
  .body .a-better-way-to-buy {
    font-size: 24px !important;
    line-height: 28px !important;
  }
  
  .body .midmark-s-new {
    font-size: 16px !important;
    line-height: 22px !important;
  }
  
  .body .text-wrapper-2 {
    font-size: 13px;
    line-height: 18px;
  }
  
  .body .logo-tagline {
    transform: scale(0.8);
  }
}