:root {
  --ink: #17211b;
  --muted: #5d665f;
  --soft: #f4f1e8;
  --paper: #fffaf0;
  --line: #ded7c8;
  --green: #1f6b4f;
  --green-dark: #164735;
  --ochre: #b8772e;
  --rust: #9d4f37;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(23, 33, 27, 0.12);
}

* {
  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;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 16px 28px;
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.94);
  border-bottom: 1px solid rgba(222, 215, 200, 0.85);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.site-nav a {
  opacity: 0.9;
}

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

.nav-cta {
  padding: 10px 14px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 84vh;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 28, 22, 0.86) 0%, rgba(18, 28, 22, 0.72) 44%, rgba(18, 28, 22, 0.25) 100%),
    linear-gradient(0deg, rgba(18, 28, 22, 0.4), rgba(18, 28, 22, 0.12));
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 40px));
  margin-left: max(24px, calc((100vw - 1180px) / 2));
  padding-top: 58px;
}

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

.hero .eyebrow {
  color: #ffd79a;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 58px;
  line-height: 1.03;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  overflow-wrap: break-word;
}

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

.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: 750;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 10px 30px rgba(31, 107, 79, 0.25);
}

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

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

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

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

.signal-strip div {
  min-height: 112px;
  padding: 26px 30px;
  background: var(--paper);
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  margin-bottom: 6px;
  font-size: 15px;
}

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

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

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

.section-heading.narrow {
  max-width: 660px;
}

h2 {
  margin-bottom: 16px;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.section-heading p,
.value-card p,
.step p,
.contact-copy p {
  color: var(--muted);
  font-size: 16px;
}

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

.value-card,
.step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
}

.value-card {
  min-height: 245px;
  padding: 24px;
}

.card-kicker {
  display: block;
  margin-bottom: 42px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 800;
}

.sample-section {
  width: 100%;
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  background: #ebe6d8;
}

.sample-shell {
  overflow: hidden;
  border: 1px solid #cfc4ae;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.sample-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  color: #6d614f;
  background: #f5efe2;
  border-bottom: 1px solid #d8ceb9;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 15px 16px;
  text-align: left;
  border-bottom: 1px solid #e8dfcf;
}

th {
  color: #635744;
  background: #fbf7ee;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

td {
  color: #2a332d;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  position: relative;
  min-height: 146px;
  padding: 24px 24px 22px 78px;
}

.step span {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.proof-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.category-list span {
  padding: 11px 14px;
  color: #2f3b33;
  background: #efe6d4;
  border: 1px solid #dacdb8;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 720;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 48px;
  align-items: start;
}

.fine-print {
  max-width: 560px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.sample-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: #364139;
  font-size: 13px;
  font-weight: 800;
}

input {
  min-width: 0;
  height: 46px;
  padding: 0 13px;
  color: var(--ink);
  background: #fffcf5;
  border: 1px solid #d8cfbe;
  border-radius: 8px;
  outline: none;
}

input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 107, 79, 0.14);
}

.form-button,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px;
  color: #f6efe1;
  background: var(--ink);
  font-size: 14px;
}

@media (max-width: 860px) {
  .site-header {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 11px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
  }

  .site-header.is-scrolled .nav-toggle {
    background: rgba(31, 107, 79, 0.1);
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 20px;
    display: none;
    width: min(280px, calc(100vw - 40px));
    padding: 12px;
    color: var(--ink);
    background: rgba(255, 250, 240, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 2px;
  }

  .site-nav a {
    padding: 10px;
  }

  .nav-cta {
    color: var(--white);
  }

  .hero {
    min-height: 78vh;
  }

  .hero-content {
    width: min(620px, calc(100% - 32px));
    margin: 0 auto;
  }

  h1 {
    font-size: 40px;
  }

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

  .signal-strip,
  .value-grid,
  .split-section,
  .proof-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .signal-strip div {
    min-height: auto;
  }

  .section {
    padding: 64px 0;
  }

  h2 {
    font-size: 31px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 82vh;
  }

  .hero-content {
    width: min(calc(100% - 32px), 352px);
    margin-right: auto;
    margin-left: 16px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(18, 28, 22, 0.88) 0%, rgba(18, 28, 22, 0.7) 100%),
      linear-gradient(0deg, rgba(18, 28, 22, 0.42), rgba(18, 28, 22, 0.18));
  }

  h1 {
    font-size: 31px;
    line-height: 1.08;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.45;
  }

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

  .signal-strip div {
    max-width: 390px;
    padding: 22px 16px;
  }

  .sample-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .sample-toolbar {
    display: grid;
    gap: 4px;
  }
}
