@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800;900&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap");

:root {
  --green: #07572f;
  --deep: #042d1d;
  --gold: #d7a62d;
  --lime: #b9d731;
  --cream: #f7f4ec;
  --paper: #fffdf8;
  --ink: #171717;
  --muted: #686868;
  --line: #e5e0df;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 17px;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.topbar {
  align-items: center;
  background: var(--deep);
  color: #e9f0ea;
  display: flex;
  font-size: 14px;
  gap: 28px;
  justify-content: center;
  padding: 10px 20px;
}

.topbar span {
  color: var(--lime);
  font-weight: 800;
}

.topbar b {
  font-weight: 600;
}

.header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 96px;
  padding: 0 76px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand img {
  height: 76px;
  object-fit: contain;
  width: 174px;
}

.header nav {
  display: flex;
  gap: 34px;
  font-size: 16px;
  font-weight: 700;
}

.header nav a:hover {
  color: var(--green);
}

.navCta,
.primary,
.secondary,
.lightButton {
  align-items: center;
  border-radius: 4px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
}

.navCta {
  background: var(--green);
  color: var(--white);
  justify-self: end;
}

.hero {
  align-items: center;
  display: grid;
  min-height: 690px;
  overflow: hidden;
  padding: 66px 76px 48px;
  position: relative;
}

.heroMedia,
.heroMask {
  inset: 0;
  position: absolute;
}

.heroMedia img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.heroMask {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.82), rgba(255, 253, 248, 0.92)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.38));
}

.heroContent {
  margin: 0 auto;
  max-width: 960px;
  position: relative;
  text-align: center;
  z-index: 2;
}

.heroMark {
  height: 128px;
  margin: 0 auto 18px;
  object-fit: contain;
  width: 210px;
}

.eyebrow,
.kicker {
  color: var(--green);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

.hero h1,
.requestCopy h2,
.sectionHead h2,
.imageStories h2,
.phoneCopy h2,
.centerHead h2,
.storyHead h2,
.trustCopy h2,
.finalCta h2,
.privacyPage h1 {
  font-family: "PT Serif", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  color: #1a1a1a;
  font-size: 78px;
  line-height: 1.03;
  margin: 18px auto 22px;
  max-width: 950px;
}

.lead {
  color: #4d4d4d;
  font-size: 22px;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 760px;
}

.lead strong {
  color: var(--green);
}

.heroActions {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
}

.primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 16px 36px rgba(7, 87, 47, 0.22);
}

.primary:hover,
.navCta:hover {
  background: #064728;
}

.secondary {
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--green);
  color: var(--green);
}

.heroMetrics {
  align-self: end;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  bottom: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  left: 76px;
  position: absolute;
  right: 76px;
  z-index: 2;
}

.heroMetrics div {
  border-right: 1px solid var(--line);
  padding: 20px 24px;
  text-align: center;
}

.heroMetrics div:last-child {
  border-right: 0;
}

.heroMetrics strong {
  color: var(--green);
  display: block;
  font-size: 22px;
}

.heroMetrics span {
  color: var(--muted);
  display: block;
  font-size: 14px;
  margin-top: 4px;
}

.requestBand {
  align-items: start;
  background: var(--deep);
  color: var(--white);
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 520px);
  padding: 86px 76px;
}

.requestCopy {
  max-width: 720px;
  padding-top: 8px;
}

.requestCopy .kicker,
.stories .kicker,
.finalCta .kicker {
  color: var(--lime);
}

.requestCopy h2,
.sectionHead h2,
.imageStories h2,
.phoneCopy h2,
.centerHead h2,
.storyHead h2,
.trustCopy h2,
.finalCta h2 {
  font-size: 52px;
  line-height: 1.08;
  margin: 16px 0 18px;
}

.requestCopy > p {
  color: #c2d0c8;
  font-size: 20px;
  line-height: 1.65;
  margin: 0;
}

.useGrid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin: 34px 0;
}

.useGrid span,
.miniBadges span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: #edf4ef;
  font-size: 16px;
  font-weight: 700;
  padding: 14px;
}

.miniBadges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.miniBadges span {
  background: rgba(255, 255, 255, 0.08);
  color: var(--lime);
}

.loanCard {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  color: var(--ink);
  padding: 34px;
}

.formTop {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 15px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.formTop b {
  color: var(--green);
}

.loanCard h2 {
  font-family: "PT Serif", Georgia, serif;
  font-size: 36px;
  line-height: 1.1;
  margin: 0;
}

.loanCard > p {
  color: var(--muted);
  font-size: 17px;
  margin: 8px 0 22px;
}

.loanCard label {
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin: 16px 0;
}

.loanCard input,
.loanCard select {
  background: #fbfbf8;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #303030;
  display: block;
  font-size: 17px;
  height: 54px;
  margin-top: 8px;
  outline: none;
  padding: 0 14px;
  width: 100%;
}

.loanCard input:focus,
.loanCard select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(7, 87, 47, 0.1);
}

.loanCard button {
  background: var(--gold);
  border: 0;
  border-radius: 4px;
  color: #171717;
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
  height: 56px;
  margin-top: 10px;
  width: 100%;
}

.loanCard button:hover {
  filter: brightness(1.04);
}

.formSafe {
  color: var(--muted);
  font-size: 14px;
  margin-top: 14px;
  text-align: center;
}

.success {
  background: #edf7e4;
  border-radius: 4px;
  color: #305c20;
  font-size: 15px;
  line-height: 1.45;
  padding: 12px;
}

.ticker {
  background: var(--gold);
  color: #171717;
  display: flex;
  font-size: 16px;
  font-weight: 900;
  justify-content: space-around;
  padding: 20px;
}

.section {
  padding: 100px 76px;
}

.sectionHead {
  align-items: end;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) 420px;
  margin-bottom: 52px;
}

.sectionHead > p,
.centerHead > p,
.trustCopy > p,
.imageStories p,
.phoneCopy > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.benefitGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.benefitGrid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-right: 0;
  min-height: 278px;
  padding: 32px;
}

.benefitGrid article:last-child {
  border-right: 1px solid var(--line);
}

.benefitGrid article:hover {
  background: #fbf8ee;
}

.benefitGrid span {
  color: var(--gold);
  font-weight: 900;
}

.benefitGrid h3,
.steps h3 {
  font-family: "PT Serif", Georgia, serif;
  font-size: 28px;
  line-height: 1.15;
  margin: 44px 0 12px;
}

.benefitGrid p,
.steps p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.imageStories {
  background: var(--cream);
  display: grid;
  gap: 0;
  grid-template-columns: 1fr 1fr;
}

.imageStories article {
  display: grid;
  min-height: 640px;
  position: relative;
}

.imageStories img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.imageStories article > div {
  align-self: end;
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid var(--line);
  padding: 40px;
}

.imageStories h2 {
  font-size: 44px;
}

.phoneSection {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 690px;
}

.phonePhoto {
  min-height: 690px;
  overflow: hidden;
  position: relative;
}

.phonePhoto > img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.photoTag {
  background: var(--white);
  border-left: 5px solid var(--lime);
  bottom: 28px;
  display: flex;
  flex-direction: column;
  padding: 18px 22px;
  position: absolute;
  right: 28px;
}

.photoTag b {
  font-size: 17px;
}

.photoTag span {
  color: var(--muted);
  font-size: 14px;
}

.phoneCopy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 86px 96px;
}

.phoneCopy ul {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  margin: 26px 0 32px;
  padding: 0;
}

.phoneCopy li {
  background: #f8f7f1;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 16px;
  font-weight: 800;
  padding: 14px 16px;
}

.phoneCopy .primary {
  align-self: flex-start;
}

.process {
  background: var(--paper);
}

.centerHead {
  margin: 0 auto;
  max-width: 820px;
  text-align: center;
}

.steps {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 58px;
}

.steps article {
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 260px;
  padding: 30px;
}

.stepNum {
  align-items: center;
  background: var(--green);
  color: var(--white);
  display: flex;
  font-family: "PT Serif", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.steps h3 {
  margin-top: 28px;
}

.stories {
  background: var(--deep);
  color: var(--white);
  padding: 100px 76px;
}

.storyHead {
  display: grid;
  gap: 18px;
  max-width: 820px;
}

.reviewGrid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 50px;
}

.reviewGrid article {
  background: #0b4a2e;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  min-height: 255px;
  padding: 32px;
}

.reviewGrid article > p {
  flex: 1;
  font-family: "PT Serif", Georgia, serif;
  font-size: 23px;
  line-height: 1.45;
  margin: 0 0 28px;
}

.reviewer {
  align-items: center;
  display: flex;
  gap: 12px;
}

.reviewer > span {
  align-items: center;
  background: var(--lime);
  border-radius: 50%;
  color: var(--deep);
  display: flex;
  font-size: 12px;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.reviewer div {
  display: flex;
  flex-direction: column;
}

.reviewer b {
  font-size: 15px;
}

.reviewer small {
  color: #b8c8bd;
  font-size: 13px;
}

.reviewer em {
  color: var(--gold);
  font-size: 12px;
  font-style: normal;
  margin-left: auto;
}

.reviewNote {
  color: #a8bdae;
  font-size: 14px;
  margin-top: 24px;
  text-align: center;
}

.trustSection {
  align-items: center;
  background: var(--white);
  display: grid;
  gap: 62px;
  grid-template-columns: 0.75fr 1.25fr;
  padding: 96px 76px;
}

.trustLogos {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.trustLogos > div {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 174px;
  padding: 24px;
}

.trustLogos img {
  max-height: 76px;
  object-fit: contain;
}

.trustLogos span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  margin-top: 16px;
  text-align: center;
}

.finalCta {
  align-items: center;
  background: var(--gold);
  color: #171717;
  display: flex;
  justify-content: space-between;
  padding: 80px 76px;
}

.finalCta > div:first-child {
  max-width: 760px;
}

.finalCta > div:last-child {
  max-width: 390px;
}

.finalCta p {
  font-size: 18px;
  line-height: 1.65;
}

.lightButton {
  background: var(--white);
  margin-top: 12px;
}

footer {
  background: #062c1b;
  color: #dce8df;
  padding: 72px 76px 28px;
}

.footerTop {
  display: grid;
  gap: 56px;
  grid-template-columns: 1.5fr repeat(3, 1fr);
}

.footerBrand img {
  background: var(--white);
  border-radius: 4px;
  height: 76px;
  object-fit: contain;
  padding: 5px;
  width: 158px;
}

.footerBrand p {
  color: #a9b8af;
  font-size: 15px;
}

.footerTop > div:not(.footerBrand) {
  color: #a9b8af;
  display: flex;
  flex-direction: column;
  font-size: 15px;
  gap: 12px;
}

.footerTop b {
  color: var(--white);
  font-size: 15px;
}

.footerTop a:hover {
  color: var(--lime);
}

.footerBottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8da093;
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  margin-top: 54px;
  padding-top: 24px;
}

.cookie {
  align-items: center;
  background: var(--white);
  border-left: 5px solid var(--gold);
  bottom: 22px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.18);
  display: flex;
  gap: 18px;
  left: 22px;
  max-width: 620px;
  padding: 18px;
  position: fixed;
  right: 22px;
  z-index: 99;
}

.cookie b {
  font-family: "PT Serif", Georgia, serif;
  font-size: 20px;
}

.cookie p {
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0;
}

.cookie a {
  text-decoration: underline;
}

.cookie button {
  background: var(--green);
  border: 0;
  border-radius: 4px;
  color: var(--white);
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  padding: 12px 18px;
}

.privacyPage {
  background: #f6f7f3;
  min-height: 100vh;
}

.privacyPage header {
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: 15px;
  font-weight: 800;
  height: 96px;
  justify-content: space-between;
  padding: 12px 76px;
}

.privacyPage header img {
  height: 72px;
  object-fit: contain;
  width: 154px;
}

.privacyPage article {
  background: var(--white);
  box-shadow: 0 18px 50px rgba(20, 55, 34, 0.08);
  margin: 70px auto;
  max-width: 880px;
  padding: 60px;
}

.privacyPage h1 {
  font-size: 58px;
  line-height: 1;
  margin: 18px 0;
}

.privacyPage h2 {
  font-family: "PT Serif", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  margin-top: 34px;
}

.privacyPage article p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.privacyPage .updated {
  font-size: 14px;
}

@media (max-width: 1180px) {
  .header,
  .hero,
  .requestBand,
  .section,
  .stories,
  .trustSection,
  .finalCta,
  footer {
    padding-left: 34px;
    padding-right: 34px;
  }

  .heroMetrics {
    left: 34px;
    right: 34px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .requestBand,
  .phoneSection,
  .trustSection {
    grid-template-columns: 1fr;
  }

  .benefitGrid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .imageStories {
    grid-template-columns: 1fr;
  }

  .footerTop {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .topbar {
    align-items: center;
    flex-direction: column;
    font-size: 13px;
    gap: 4px;
  }

  .header {
    grid-template-columns: 1fr auto;
    height: 78px;
    padding: 0 18px;
  }

  .header nav {
    display: none;
  }

  .brand img {
    height: 58px;
    width: 132px;
  }

  .navCta {
    font-size: 15px;
    min-height: 44px;
    padding: 0 16px;
  }

  .hero {
    min-height: 640px;
    padding: 44px 18px 24px;
  }

  .heroMark {
    height: 98px;
    width: 170px;
  }

  .eyebrow,
  .kicker {
    font-size: 13px;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 1.08;
  }

  .lead {
    font-size: 18px;
  }

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

  .heroMetrics {
    display: none;
  }

  .requestBand,
  .section,
  .stories,
  .trustSection,
  .finalCta,
  footer {
    padding: 64px 18px;
  }

  .requestBand {
    gap: 34px;
  }

  .requestCopy h2,
  .sectionHead h2,
  .imageStories h2,
  .phoneCopy h2,
  .centerHead h2,
  .storyHead h2,
  .trustCopy h2,
  .finalCta h2 {
    font-size: 38px;
  }

  .requestCopy > p,
  .sectionHead > p,
  .centerHead > p,
  .trustCopy > p,
  .imageStories p,
  .phoneCopy > p {
    font-size: 17px;
  }

  .useGrid,
  .sectionHead,
  .benefitGrid,
  .steps,
  .reviewGrid,
  .trustLogos,
  .phoneCopy ul {
    grid-template-columns: 1fr;
  }

  .loanCard {
    padding: 24px;
  }

  .ticker {
    gap: 22px;
    justify-content: flex-start;
    overflow: hidden;
    white-space: nowrap;
  }

  .ticker span:nth-child(n + 3) {
    display: none;
  }

  .imageStories article {
    min-height: 560px;
  }

  .imageStories article > div {
    padding: 28px;
  }

  .phonePhoto {
    min-height: 420px;
  }

  .phoneCopy {
    padding: 64px 18px;
  }

  .finalCta {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .footerTop {
    grid-template-columns: 1fr;
  }

  .footerBottom {
    display: block;
    line-height: 1.8;
  }

  .cookie {
    align-items: stretch;
    bottom: 12px;
    flex-direction: column;
    left: 12px;
    right: 12px;
  }

  .privacyPage header {
    padding: 10px 18px;
  }

  .privacyPage article {
    margin: 28px 14px;
    padding: 28px;
  }

  .privacyPage h1 {
    font-size: 40px;
  }
}
