.preview-landing,
.preview-flow {
  --green: #0da7a5;
  --green-dark: #087b79;
  --teal: #0da7a5;
}

.preview-landing {
  background: #f7f9f7;
}

.preview-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(24px, calc((100% - 1240px) / 2));
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .24);
}

.preview-header .brand small {
  color: rgba(255, 255, 255, .75);
}

.preview-header .brand-mark {
  color: #12342d;
  background: #fff;
}

.brand-logo {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border: 2px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.preview-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

.preview-nav a:not(.header-cta) {
  color: rgba(255, 255, 255, .86);
}

.preview-nav a:hover {
  color: #fff;
}

.header-cta {
  padding: 10px 15px;
  color: #12342d;
  background: #fff;
  border-radius: 6px;
}

.preview-hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px max(24px, calc((100% - 1240px) / 2)) 54px;
  color: #fff;
}

.preview-hero > img,
.preview-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.preview-hero > img {
  object-fit: cover;
}

.preview-hero-shade {
  background: linear-gradient(90deg, rgba(5, 72, 71, .95) 0%, rgba(7, 105, 103, .76) 52%, rgba(13, 167, 165, .18) 100%);
}

.preview-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-bottom: 122px;
}

.preview-hero h1 {
  max-width: 700px;
  font-size: 68px;
  line-height: 1.03;
}

.preview-hero-content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 18px;
}

.preview-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.preview-text-link {
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, .55);
}

.preview-facts {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100% - 1240px) / 2));
  bottom: 54px;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .34);
  border-bottom: 1px solid rgba(255, 255, 255, .34);
}

.preview-facts div {
  display: grid;
  gap: 2px;
  padding: 17px 22px;
  border-left: 1px solid rgba(255, 255, 255, .22);
}

.preview-facts strong {
  font-size: 20px;
}

.preview-facts span {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
}

.preview-disclosure {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 22px max(24px, calc((100% - 1240px) / 2));
  color: #fff;
  background: #0da7a5;
}

.preview-disclosure p {
  max-width: 900px;
  margin: 0;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
}

.preview-needs,
.preview-process,
.preview-testimonials,
.preview-cta {
  padding-left: max(24px, calc((100% - 1240px) / 2));
  padding-right: max(24px, calc((100% - 1240px) / 2));
}

.preview-needs {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  padding-top: 92px;
  padding-bottom: 92px;
  background: #fff;
}

.preview-section-intro {
  max-width: 540px;
}

.preview-section-intro h2 {
  font-size: 44px;
}

.preview-section-intro > p:last-child {
  margin-top: 20px;
  color: #61716c;
}

.preview-needs-list {
  border-top: 1px solid #ccd9d4;
}

.preview-needs-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid #ccd9d4;
}

.preview-needs-list article > span {
  color: #b4862b;
  font-size: 13px;
  font-weight: 800;
}

.preview-needs-list h3 {
  margin: 0 0 6px;
}

.preview-needs-list p {
  margin: 0;
  color: #61716c;
}

.preview-process {
  padding-top: 84px;
  padding-bottom: 84px;
  background: #e6f6f5;
}

.preview-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 38px;
  background: #c9d8d2;
  border: 1px solid #c9d8d2;
}

.preview-process-grid article {
  min-height: 250px;
  padding: 28px;
  background: #f9fbfa;
}

.preview-process-grid article > span {
  color: #087b79;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.preview-process-grid h3 {
  margin-top: 42px;
}

.preview-process-grid p {
  color: #61716c;
}

.preview-testimonials {
  background: #f7f9f7;
}

.preview-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding-top: 58px;
  padding-bottom: 58px;
  color: #fff;
  background: #087b79;
}

.preview-cta h2 {
  font-size: 38px;
}

.preview-cta p:not(.eyebrow) {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .72);
}

.preview-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 16px max(24px, calc((100% - 1240px) / 2));
  color: rgba(255, 255, 255, .72);
  background: #055b5a;
  font-size: 13px;
}

.preview-footer strong {
  color: #fff;
}

.preview-flow {
  background: #f4f8f7;
}

.preview-flow .site-header {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: #cde3e1;
}

.preview-flow .brand-mark {
  background: #0da7a5;
}

.preview-flow .brand-logo {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
  border-color: #c9e4e2;
}

.preview-flow .page-hero {
  padding-top: 136px;
  padding-bottom: 60px;
  background: #087b79;
}

.preview-flow .page-hero div {
  max-width: 760px;
}

.preview-flow .page-hero h1 {
  font-size: 54px;
}

.preview-flow .form-section,
.preview-flow .document-section {
  padding-top: 64px;
  padding-bottom: 72px;
}

.preview-flow .form-section {
  background: #f4f8f7;
}

.preview-flow .document-section {
  background: #e6f6f5;
}

.preview-flow .loan-form {
  border-color: #c6dedb;
  box-shadow: 0 16px 36px rgba(6, 91, 90, .1);
}

.preview-flow .request-box {
  background: #e6f6f5;
}

.preview-flow input:focus,
.preview-flow select:focus {
  outline-color: rgba(13, 167, 165, .2);
  border-color: #0da7a5;
}

.preview-flow .mini-points span {
  border-left: 3px solid #0da7a5;
}

.preview-flow .site-footer {
  background: #055b5a;
}

.preview-flow.thank-you-page {
  background: #e6f6f5;
}

.preview-flow .thank-you {
  max-width: 1120px;
  margin: 0 auto;
}

.preview-flow .thank-you-content {
  border-top-color: #0da7a5;
}

.preview-flow .whatsapp-btn {
  background: #0da7a5;
}

@media (max-width: 980px) {
  .preview-nav a:not(.header-cta) {
    display: none;
  }

  .preview-hero h1 {
    font-size: 54px;
  }

  .preview-facts {
    left: 24px;
    right: 24px;
  }

  .preview-needs {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 700px) {
  .preview-header {
    padding: 13px 18px;
  }

  .preview-header .brand strong {
    font-size: 14px;
  }

  .brand-logo,
  .preview-flow .brand-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .preview-nav {
    display: none;
  }

  .preview-hero {
    min-height: 720px;
    padding: 124px 18px 28px;
  }

  .preview-hero-shade {
    background: rgba(5, 87, 85, .86);
  }

  .preview-hero-content {
    padding-bottom: 208px;
  }

  .preview-hero h1 {
    font-size: 42px;
  }

  .preview-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .preview-facts {
    bottom: 26px;
    left: 18px;
    right: 18px;
    grid-template-columns: 1fr;
  }

  .preview-facts div {
    grid-template-columns: 90px 1fr;
    align-items: center;
    padding: 10px 12px;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
  }

  .preview-disclosure {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px;
  }

  .preview-needs,
  .preview-process,
  .preview-testimonials,
  .preview-cta {
    padding-left: 18px;
    padding-right: 18px;
  }

  .preview-section-intro h2 {
    font-size: 34px;
  }

  .preview-process-grid {
    grid-template-columns: 1fr;
  }

  .preview-process-grid article {
    min-height: 0;
  }

  .preview-process-grid h3 {
    margin-top: 24px;
  }

  .preview-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .preview-footer {
    flex-direction: column;
    padding: 16px 18px;
  }

  .preview-flow .page-hero {
    padding-top: 78px;
  }

  .preview-flow .page-hero h1 {
    font-size: 40px;
  }
}
