:root {
  --ink: #1e2522;
  --muted: #65706a;
  --line: #dbe2dc;
  --paper: #fbfaf5;
  --surface: #ffffff;
  --sage: #6f826f;
  --sage-dark: #4d614f;
  --clay: #b86f55;
  --cream: #f1eadc;
  --shadow: 0 20px 50px rgba(31, 38, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(251, 250, 245, 0.9);
  border-bottom: 1px solid rgba(219, 226, 220, 0.8);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: var(--sage-dark);
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

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

.nav-cta {
  color: #fff !important;
  background: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 74px);
  padding: clamp(42px, 7vw, 86px) clamp(20px, 5vw, 72px);
}

.hero-copy {
  max-width: 660px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 5.2vw, 4.6rem);
  line-height: 1;
  max-width: 680px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-text {
  max-width: 590px;
  color: var(--muted);
  font-size: 1.12rem;
}

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

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

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

.button.primary:hover {
  background: #405142;
}

.button.secondary {
  color: var(--ink);
  background: var(--cream);
}

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

.hero-stats div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.hero-stats dt {
  font-size: 1.1rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-image-wrap {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-image-wrap img {
  width: 100%;
  min-height: 500px;
  object-fit: cover;
}

.section,
.apply-section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 32px;
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.intro p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.04rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.product-list article,
.steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.feature-card p,
.product-list p,
.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--sage-dark);
  font-weight: 800;
}

.products {
  background: var(--cream);
}

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

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

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 22px;
  color: #fff;
  background: var(--sage);
  border-radius: 8px;
  font-weight: 800;
}

.apply-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.apply-copy {
  position: sticky;
  top: 116px;
}

.apply-copy p {
  color: var(--muted);
}

.contact-note {
  margin-top: 28px;
  padding: 18px;
  background: var(--cream);
  border-radius: 8px;
}

.contact-note ul {
  padding-left: 20px;
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-note li + li {
  margin-top: 6px;
}

.application-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

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

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--sage-dark);
  outline: 3px solid rgba(111, 130, 111, 0.2);
}

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

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--sage-dark);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: #fff;
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.legal-page h1 {
  max-width: none;
  margin-bottom: 18px;
}

.legal-page h2 {
  margin-top: 34px;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero,
  .intro,
  .apply-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-image-wrap {
    order: -1;
  }

  .hero-image-wrap img {
    min-height: 360px;
  }

  .feature-grid,
  .product-list,
  .steps,
  .two-column {
    grid-template-columns: 1fr 1fr;
  }

  .apply-copy {
    position: static;
  }
}

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

  .nav-links {
    display: none;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-stats,
  .feature-grid,
  .product-list,
  .steps,
  .two-column,
  .application-form {
    grid-template-columns: 1fr;
  }

  .hero-image-wrap img {
    min-height: 300px;
  }

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