:root {
  color-scheme: light;
  --ink: #182017;
  --muted: #5f6b58;
  --line: #d8dfd0;
  --field: #315b28;
  --leaf: #74a949;
  --soil: #6d5035;
  --sky: #d8eef5;
  --paper: #f7f8f2;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(24, 32, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
}

.brand,
.top-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(24, 32, 23, 0.44);
}

.top-nav {
  gap: clamp(12px, 2.4vw, 28px);
  font-size: 14px;
}

.top-nav a {
  text-decoration: none;
  opacity: 0.86;
}

.top-nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 108px clamp(18px, 6vw, 88px) 72px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(14, 22, 14, 0.88) 0%, rgba(14, 22, 14, 0.62) 36%, rgba(14, 22, 14, 0.08) 72%),
    linear-gradient(180deg, rgba(14, 22, 14, 0.24) 0%, rgba(14, 22, 14, 0.04) 54%, rgba(14, 22, 14, 0.36) 100%);
}

.hero-content {
  position: relative;
  width: min(720px, 100%);
  color: var(--white);
}

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 10vw, 128px);
  line-height: 0.9;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: clamp(18px, 2.3vw, 27px);
  line-height: 1.35;
}

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

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

.button-primary {
  color: #12210f;
  background: var(--leaf);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 86px) 0;
}

.intro,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.intro h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.intro > p,
.contact p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 8px;
}

.module {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(24, 32, 23, 0.04);
}

.module-number {
  display: block;
  margin-bottom: 42px;
  color: var(--soil);
  font-weight: 900;
}

.module h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.module p,
.form-note {
  color: var(--muted);
  line-height: 1.55;
}

.contact {
  border-top: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

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

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(116, 169, 73, 0.22);
  border-color: var(--leaf);
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

  .top-nav {
    display: none;
  }

  .hero {
    min-height: 82vh;
    padding-top: 92px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(14, 22, 14, 0.84), rgba(14, 22, 14, 0.5));
  }

  .hero-copy {
    font-size: 18px;
  }

  .intro,
  .contact,
  .modules {
    grid-template-columns: 1fr;
  }

  .module {
    min-height: auto;
  }

  .module-number {
    margin-bottom: 26px;
  }

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