:root {
  --bg: #f6f3ee;
  --ink: #17201b;
  --muted: #66716a;
  --line: rgba(23, 32, 27, 0.12);
  --panel: #ffffff;
  --green: #2f7d5c;
  --green-dark: #1f5c42;
  --gold: #d8a847;
  --sage: #dce8df;
  --shadow: 0 24px 70px rgba(25, 35, 30, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(216, 168, 71, 0.18), transparent 28%),
    linear-gradient(210deg, rgba(47, 125, 92, 0.18), transparent 34%),
    var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

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

.brand span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
}

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

.header-action,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.header-action {
  padding: 0 18px;
  color: #fff;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 56px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 94px);
  margin: 0 auto;
  padding: 56px 0 72px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.hero-copy > p:not(.eyebrow),
.split-section p,
.contact-band p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

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

.button {
  padding: 0 22px;
}

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

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
}

.crm-preview {
  border: 1px solid rgba(47, 125, 92, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.preview-top,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(216, 168, 71, 0.2);
}

.preview-top small,
.pipeline small,
.metrics span {
  color: var(--muted);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.metrics div,
.pipeline article,
.feature-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.metrics div {
  padding: 14px;
}

.metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
}

.pipeline {
  display: grid;
  gap: 12px;
}

.pipeline article {
  padding: 16px;
}

.pipeline span {
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pipeline strong,
.pipeline small {
  display: block;
  margin-top: 7px;
}

.section,
.split-section,
.contact-band,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section,
.split-section,
.contact-band {
  padding: 82px 0;
}

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

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

.feature-grid article {
  padding: 24px;
}

.feature-grid span {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--green-dark);
  font-weight: 800;
}

.feature-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 48px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--sage);
  font-weight: 700;
}

.contact-band {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 44px;
  align-items: center;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-self: end;
}

.site-footer {
  padding: 28px 0 38px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer strong {
  color: var(--ink);
}

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

  nav {
    display: none;
  }

  .hero,
  .split-section,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .header-action {
    display: none;
  }

  .hero,
  .section,
  .split-section,
  .contact-band,
  .site-footer {
    width: calc(100% - 28px);
  }

  h1 {
    font-size: 3.2rem;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
