:root {
  --ink: #17201d;
  --muted: #52615b;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --line: #dcd6ca;
  --green: #1f6f5b;
  --green-dark: #0d3f34;
  --coral: #c65e4a;
  --gold: #b58a35;
  --blue: #315d73;
  --shadow: 0 18px 50px rgba(23, 32, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(247, 244, 238, 0.9);
  border-bottom: 1px solid rgba(220, 214, 202, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: #fff;
  background: var(--green-dark);
  border-radius: 8px;
  font-size: 0.8rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  font-size: 0.94rem;
  color: var(--muted);
}

.nav-links a {
  white-space: nowrap;
}

.nav-cta {
  color: #fff;
  background: var(--green-dark);
  padding: 9px 13px;
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: end;
  padding: 112px clamp(18px, 5vw, 72px) 56px;
  overflow: hidden;
}

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

.hero-bg {
  background:
    url("https://images.pexels.com/photos/4483610/pexels-photo-4483610.jpeg?auto=compress&cs=tinysrgb&w=1800")
    center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 20, 17, 0.88), rgba(10, 20, 17, 0.62) 48%, rgba(10, 20, 17, 0.22)),
    linear-gradient(0deg, rgba(10, 20, 17, 0.72), rgba(10, 20, 17, 0.05) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb3a4;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
}

h3 {
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 670px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.primary:hover,
.nav-cta:hover {
  background: var(--green-dark);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics-band div {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 26px clamp(18px, 5vw, 72px);
  background: var(--surface);
}

.metrics-band strong {
  color: var(--green-dark);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.metrics-band span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(18px, 5vw, 72px);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
}

.section-copy p,
.apply-copy p {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.terms-panel {
  display: grid;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.term-row {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.term-row:last-child {
  border-bottom: 0;
}

.term-row span {
  color: var(--muted);
  font-weight: 700;
}

.term-row strong {
  color: var(--ink);
}

.fit-section {
  background: #eaf0ed;
}

.section-heading {
  max-width: 900px;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.fit-grid article {
  min-height: 210px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid rgba(49, 93, 115, 0.18);
  border-radius: 8px;
}

.fit-grid h3,
.steps h3 {
  color: var(--green-dark);
}

.fit-grid p,
.steps p {
  margin: 12px 0 0;
  color: var(--muted);
}

.process-section {
  background: var(--surface);
}

.readiness-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
  background: #fbfaf7;
}

.readiness-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.readiness-list span {
  min-height: 84px;
  display: flex;
  align-items: center;
  padding: 18px;
  color: var(--green-dark);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 40px 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.steps li {
  min-height: 250px;
  display: grid;
  align-content: start;
  gap: 28px;
  padding: 24px;
  background: #fbfaf7;
}

.steps span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
}

.guarantee-section {
  color: #fff;
  background: var(--green-dark);
}

.guarantee-copy {
  max-width: 940px;
}

.guarantee-copy .eyebrow {
  color: #f0bf79;
}

.guarantee-copy p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.apply-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.78fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
  background: #f1ece3;
}

.lead-form {
  display: grid;
  gap: 15px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c9c2b5;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(31, 111, 91, 0.18);
  border-color: var(--green);
}

.submit-button {
  width: 100%;
  margin-top: 2px;
  border: 0;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--green-dark);
}

.site-footer span:first-child {
  color: #fff;
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 84vh;
    padding-top: 105px;
  }

  .metrics-band,
  .two-column,
  .readiness-section,
  .apply-section {
    grid-template-columns: 1fr;
  }

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

  .term-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 600px) {
  .brand {
    font-size: 0.96rem;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .metrics-band,
  .fit-grid,
  .readiness-list,
  .steps {
    grid-template-columns: 1fr;
  }

  .metrics-band div {
    min-height: 96px;
  }

  .lead-form {
    padding: 20px;
  }

  .site-footer {
    flex-direction: column;
  }
}
