:root {
  --green: #006a4e;
  --green-2: #0a8f68;
  --red: #f42a41;
  --charcoal: #17201d;
  --ink: #26342f;
  --muted: #66736f;
  --line: #dce8e2;
  --soft: #f5f8f1;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 42, 32, .13);
}

* { 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: #fbfcf8;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 252, 248, .92);
  border-bottom: 1px solid rgba(0, 106, 78, .12);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--charcoal); line-height: 1.05; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 7px;
  background: var(--green);
  color: white;
  font-size: 13px;
}
.top-nav { display: flex; justify-content: center; gap: 24px; color: #354640; font-size: 14px; font-weight: 650; }
.top-nav a:hover { color: var(--green); }
.header-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 0;
  border-radius: 7px;
  font-weight: 800;
  cursor: pointer;
}
.header-cta { padding: 11px 16px; color: white; background: var(--charcoal); font-size: 14px; }
.button { min-height: 48px; padding: 0 22px; font-size: 15px; }
.button.primary { background: var(--green); color: white; box-shadow: 0 14px 30px rgba(0, 106, 78, .22); }
.text-link { font-weight: 800; color: var(--green); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(64px, 9vw, 108px) clamp(18px, 4vw, 56px) 42px;
  min-height: calc(100vh - 72px);
}
.hero-copy { max-width: 720px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 22px;
  color: var(--charcoal);
  font-size: clamp(48px, 6.2vw, 86px);
  line-height: .95;
  letter-spacing: 0;
}
.lede {
  max-width: 660px;
  margin-bottom: 28px;
  color: #45544f;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.42;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-bottom: 26px; }
.hero-note {
  max-width: 560px;
  padding-left: 16px;
  color: var(--muted);
  border-left: 3px solid var(--red);
}
.hero-visual {
  margin: 0;
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-visual img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 4vw, 56px) 34px;
  background: var(--line);
  border: 1px solid var(--line);
}
.trust-strip span {
  min-height: 84px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #ffffff;
  color: var(--charcoal);
  text-align: center;
  font-weight: 800;
}

.section, .flow-section, .comparison-section, .integration-section, .contact-section {
  padding: clamp(62px, 8vw, 104px) clamp(18px, 4vw, 56px);
}
.section-heading { max-width: 820px; margin-bottom: 38px; }
.section-heading h2, .flow-section h2, .contact-section h2 {
  color: var(--charcoal);
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
  margin-bottom: 16px;
}
.section-heading p:not(.eyebrow), .contact-section > div p { color: var(--muted); font-size: 18px; }

.features-section { background: var(--soft); }
.feature-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 18px;
}
.feature-layout article {
  min-height: 245px;
  padding: 28px;
  background: white;
  border: 1px solid rgba(0, 106, 78, .12);
  border-radius: 8px;
}
.feature-layout article span, .process span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--red);
  font-weight: 900;
  font-size: 13px;
}
.feature-layout h3, .use-grid h3, .integration-options h3 { color: var(--charcoal); font-size: 23px; margin-bottom: 12px; }
.feature-layout p, .use-grid p, .integration-options p { color: var(--muted); margin-bottom: 0; }
.feature-large { grid-row: span 2; }
.feature-wide { grid-column: span 2; }

.flow-section { background: #ffffff; }
.process {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process li { min-height: 190px; padding: 26px; border-right: 1px solid var(--line); }
.process li:last-child { border-right: 0; }
.process strong { display: block; color: var(--charcoal); font-size: 22px; line-height: 1.2; }
.fine-print { max-width: 780px; margin: 22px 0 0; color: var(--muted); font-size: 15px; }

.use-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.use-grid article {
  min-height: 260px;
  padding: 28px;
  background: var(--charcoal);
  color: white;
  border-top: 4px solid var(--green-2);
}
.use-grid article:nth-child(2) { background: #20342e; }
.use-grid article:nth-child(3) { background: #f3f7ef; color: var(--ink); border-color: var(--red); }
.use-grid article:nth-child(4) { background: #ffffff; color: var(--ink); border: 1px solid var(--line); border-top: 4px solid var(--green); }
.use-grid article:nth-child(-n+2) p { color: rgba(255,255,255,.74); }

.comparison-section { background: #ffffff; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: white; }
table { width: 100%; border-collapse: collapse; min-width: 850px; }
th, td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--charcoal); background: #f7faf5; font-size: 14px; }
td { color: #46534f; }
tr:last-child td { border-bottom: 0; }

.integration-section {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 42px;
  align-items: center;
  background: #10201b;
  color: white;
}
.integration-section .eyebrow { color: #65d3ad; }
.integration-section h2 { color: white; }
.integration-options { display: grid; gap: 18px; margin-top: 30px; }
.integration-options article { padding-left: 18px; border-left: 3px solid #65d3ad; }
.integration-options p { color: rgba(255,255,255,.72); }
.code-card {
  padding: 28px;
  background: #07120f;
  border: 1px solid rgba(101, 211, 173, .28);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0,0,0,.24);
}
pre { margin: 0; white-space: pre-wrap; }
code { color: #d9fbe9; font: 600 15px/1.8 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.contact-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 44px;
  background: var(--soft);
}
.lead-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(16, 42, 32, .08);
}
label { display: grid; gap: 8px; color: var(--charcoal); font-size: 14px; font-weight: 800; }
input, textarea {
  width: 100%;
  border: 1px solid #cbdad3;
  border-radius: 7px;
  padding: 13px 14px;
  color: var(--charcoal);
  background: #fbfcf8;
  font: inherit;
}
input:focus, textarea:focus { outline: 3px solid rgba(0, 106, 78, .16); border-color: var(--green); }
.full, .lead-form .button, .form-status, .microcopy { grid-column: 1 / -1; }
.form-status { min-height: 22px; margin: 0; color: var(--green); font-weight: 800; }
.microcopy { margin: 0; color: var(--muted); font-size: 13px; }

.faq-section { background: white; }
.faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
details { padding: 20px; background: #f8faf6; border: 1px solid var(--line); border-radius: 8px; }
summary { cursor: pointer; color: var(--charcoal); font-weight: 850; }
details p { margin: 14px 0 0; color: var(--muted); }

.site-footer {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 32px;
  padding: 54px clamp(18px, 4vw, 56px);
  background: var(--charcoal);
  color: white;
}
.site-footer h2, .site-footer h3 { margin-bottom: 12px; color: white; }
.site-footer a { display: block; margin: 7px 0; color: rgba(255,255,255,.75); }
.footer-disclaimer, .footer-brand p { color: rgba(255,255,255,.68); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .top-nav { display: none; }
  .hero, .integration-section, .contact-section { grid-template-columns: 1fr; min-height: 0; }
  .trust-strip, .feature-layout, .use-grid, .process, .faq-list, .site-footer { grid-template-columns: 1fr 1fr; }
  .feature-large, .feature-wide { grid-column: auto; grid-row: auto; }
  .process li:nth-child(2n) { border-right: 0; }
}

@media (max-width: 640px) {
  .site-header { gap: 12px; padding: 12px 14px; }
  .brand { font-size: 13px; }
  .brand-mark { width: 36px; height: 36px; font-size: 11px; }
  .header-cta { padding: 10px 11px; font-size: 12px; line-height: 1; }
  .hero { padding-top: 46px; }
  h1 { font-size: 44px; }
  .trust-strip, .feature-layout, .use-grid, .process, .faq-list, .lead-form, .site-footer { grid-template-columns: 1fr; }
  .process li { border-right: 0; border-bottom: 1px solid var(--line); min-height: auto; }
  .process li:last-child { border-bottom: 0; }
}
