:root {
  --ink: #16302b;
  --muted: #5f6f6a;
  --line: #dce6e1;
  --paper: #fbfcf8;
  --white: #ffffff;
  --green: #0f6b55;
  --green-dark: #0b4e41;
  --teal: #0b8793;
  --gold: #c69a3c;
  --soft: #eef6f1;
  --shadow: 0 18px 45px rgba(22, 48, 43, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(251, 252, 248, .92);
  border-bottom: 1px solid rgba(220, 230, 225, .9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--teal));
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 130px clamp(18px, 6vw, 86px) 64px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(12, 36, 31, .88) 0%, rgba(12, 36, 31, .72) 42%, rgba(12, 36, 31, .2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 12px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: 19px;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.primary-btn {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 24px rgba(15, 107, 85, .25);
}

.primary-btn:hover {
  background: var(--green-dark);
}

.secondary-btn {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  font-weight: 700;
}

.notice-band,
.solution-band,
.cta-band,
.site-footer {
  padding: 28px clamp(18px, 6vw, 86px);
}

.notice-band {
  background: var(--green-dark);
  color: var(--white);
}

.notice-band p {
  max-width: 1050px;
  margin: 0 auto;
}

.section,
.form-section,
.document-section {
  padding: 78px clamp(18px, 6vw, 86px);
}

.page-hero {
  padding: 142px clamp(18px, 6vw, 86px) 56px;
  background: linear-gradient(135deg, var(--green-dark), var(--teal));
  color: var(--white);
}

.page-hero div {
  max-width: 820px;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, .86);
  font-size: 18px;
}

.section-heading,
.form-intro {
  max-width: 820px;
  margin-bottom: 32px;
}

.pain-grid,
.testimonial-grid,
.field-grid,
.upload-grid {
  display: grid;
  gap: 18px;
}

.pain-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pain-grid article,
.testimonial-grid article,
.loan-form,
.form-intro .mini-points span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pain-grid article,
.testimonial-grid article {
  padding: 24px;
  box-shadow: var(--shadow);
}

.pain-grid p,
.testimonial-grid p,
.form-intro p,
.site-footer p,
.form-note {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--green);
  font-weight: 900;
}

.solution-band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  gap: 36px;
  align-items: start;
  background: #e8f3ee;
}

.solution-list {
  display: grid;
  gap: 14px;
}

.solution-list div {
  display: grid;
  gap: 5px;
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, .72);
  border-radius: 8px;
}

.solution-list span {
  color: var(--muted);
}

.testimonial-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.testimonial-grid p {
  margin-top: 0;
}

.form-section {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(320px, 1.25fr);
  gap: 34px;
  align-items: start;
  background: var(--white);
}

.single-form {
  grid-template-columns: minmax(260px, .6fr) minmax(320px, 1.4fr);
}

.document-section {
  background: var(--soft);
}

.document-section .loan-form {
  max-width: 980px;
}

.mini-points {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.mini-points span {
  padding: 13px 14px;
  font-weight: 700;
}

.loan-form {
  padding: clamp(18px, 3vw, 30px);
  box-shadow: var(--shadow);
}

.request-box {
  display: grid;
  gap: 10px;
  padding: 18px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--soft);
}

.upload-block {
  margin-top: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd9d4;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

input:focus,
select:focus {
  outline: 3px solid rgba(11, 135, 147, .2);
  border-color: var(--teal);
}

.field-grid,
.upload-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  margin: 8px 0 0;
  font-size: 13px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background: var(--soft);
}

.cta-band h2 {
  max-width: 700px;
}

.site-footer p {
  max-width: 650px;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .75);
}

.thank-you-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #e8f3ee, #fbfcf8);
}

.thank-you {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 42px;
  padding: clamp(22px, 6vw, 86px);
}

.thank-you section {
  max-width: 740px;
}

.thank-you h1 {
  color: var(--ink);
  font-size: clamp(38px, 6vw, 68px);
}

.thank-you p {
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .pain-grid,
  .testimonial-grid,
  .solution-band,
  .form-section {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    position: sticky;
  }

  .hero {
    min-height: 86vh;
    padding-top: 70px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(12, 36, 31, .9), rgba(12, 36, 31, .68));
  }

  .hero-actions,
  .form-actions,
  .site-footer,
  .cta-band {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .testimonial-grid,
  .field-grid,
  .upload-grid {
    grid-template-columns: 1fr;
  }

}
