:root {
  --ink: #192420;
  --muted: #66736d;
  --line: #dce4df;
  --paper: #f7f4ee;
  --white: #ffffff;
  --green: #176b4d;
  --green-dark: #0f4937;
  --gold: #b98b34;
  --blue: #2c5e85;
  --clay: #a75841;
  --shadow: 0 24px 70px rgba(20, 35, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(23, 107, 77, 0.11), transparent 34%),
    linear-gradient(315deg, rgba(185, 139, 52, 0.13), transparent 28%),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(220, 228, 223, 0.8);
  background: rgba(247, 244, 238, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

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

.brand strong {
  font-size: 17px;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: clamp(36px, 6vw, 88px) clamp(18px, 4vw, 56px);
}

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

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

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

h1 {
  max-width: 760px;
  font-size: clamp(48px, 6.8vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  font-size: 19px;
}

.lede {
  max-width: 650px;
  margin-top: 24px;
  color: #4f5f58;
  font-size: 19px;
  line-height: 1.6;
}

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

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

.button.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 28px rgba(23, 107, 77, 0.2);
}

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

.product-preview {
  border: 1px solid rgba(220, 228, 223, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-top {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.preview-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5ce;
}

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

.preview-metrics article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.preview-metrics small,
.preview-table .head,
.access-card span {
  color: var(--muted);
  font-size: 12px;
}

.preview-metrics strong {
  display: block;
  margin-top: 6px;
  color: var(--green-dark);
  font-size: 26px;
}

.preview-table {
  display: grid;
  padding: 0 18px 18px;
}

.row {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr 0.7fr 0.9fr;
  gap: 12px;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
}

.row strong {
  color: var(--green);
}

.row em {
  justify-self: start;
  border-radius: 999px;
  background: #e8f3ec;
  color: var(--green-dark);
  padding: 5px 9px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 clamp(18px, 4vw, 56px) 46px;
}

.trust-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #40514a;
  padding: 9px 13px;
  font-size: 14px;
  font-weight: 750;
}

.signal-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.signal-stat-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 36px rgba(20, 35, 29, 0.08);
  padding: 18px;
}

.signal-stat-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.signal-stat-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--green-dark);
  font-size: 28px;
  line-height: 1;
}

.signal-stat-grid p,
.signal-stat-note {
  color: var(--muted);
  line-height: 1.5;
}

.signal-stat-grid p {
  margin-top: 10px;
  font-size: 14px;
}

.signal-stat-note {
  margin: 0 0 28px;
}

.signal-stat-note strong {
  color: var(--green-dark);
}

.section,
.workflow-band,
.access {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

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

.feature-grid article,
.workflow article,
.access-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 36px rgba(20, 35, 29, 0.08);
}

.feature-grid article,
.workflow article {
  padding: 22px;
}

.feature-grid p,
.workflow p,
.access p,
footer p,
.preview-card p {
  color: var(--muted);
  line-height: 1.55;
}

.feature-grid h3,
.workflow h3 {
  margin-bottom: 10px;
}

.workflow-band {
  background: rgba(255, 255, 255, 0.44);
  border-block: 1px solid rgba(220, 228, 223, 0.78);
}

.workflow span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 30px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #e8f3ec;
  color: var(--green);
  font-weight: 900;
}

.preview-section {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.12));
  border-top: 1px solid rgba(220, 228, 223, 0.78);
}

.dashboard-preview-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.preview-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 44px rgba(20, 35, 29, 0.1);
  padding: 18px;
}

.preview-card.wide {
  grid-row: span 2;
}

.preview-card-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.preview-card-header h3 {
  margin-bottom: 4px;
}

.preview-card-header > span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
  color: var(--green-dark);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.mini-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-row {
  display: grid;
  grid-template-columns: 0.55fr 1.2fr 1fr 0.55fr 0.8fr;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.mini-row:last-child {
  border-bottom: 0;
}

.mini-head {
  min-height: 38px;
  background: #f4f7f4;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.mini-row strong {
  color: var(--green);
}

.mini-row em {
  justify-self: start;
  border-radius: 999px;
  background: #e8f3ec;
  color: var(--green-dark);
  padding: 5px 9px;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.owner-stack,
.detail-mock {
  display: grid;
  gap: 10px;
}

.owner-stack div,
.detail-mock div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.owner-stack span,
.detail-mock span {
  color: var(--muted);
}

.owner-stack strong,
.detail-mock strong {
  color: var(--green-dark);
}

.mock-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.mock-buttons span,
.mock-buttons a {
  display: grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.access p {
  max-width: 680px;
  margin-top: 18px;
  font-size: 17px;
}

.access-card {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.tally-card {
  align-content: start;
}

.tally-card p {
  margin-top: 0;
  font-size: 15px;
}

.tally-card .button {
  margin-top: 4px;
}

.access-card label {
  display: grid;
  gap: 6px;
}

.access-card input,
.access-card select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  font: inherit;
}

.access-card button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

footer p:first-child {
  color: var(--ink);
  font-weight: 850;
}

footer a {
  color: var(--green-dark);
  font-weight: 800;
}

.legal-hero {
  padding: clamp(54px, 8vw, 110px) clamp(18px, 4vw, 56px) clamp(28px, 5vw, 60px);
}

.legal-hero h1 {
  font-size: clamp(42px, 5.4vw, 72px);
}

.legal-content {
  display: grid;
  gap: 14px;
  max-width: 980px;
  padding: 0 clamp(18px, 4vw, 56px) clamp(56px, 8vw, 96px);
}

.legal-content article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  padding: 22px;
}

.legal-content h2 {
  margin-bottom: 10px;
  font-size: 23px;
}

.legal-content p {
  color: var(--muted);
  line-height: 1.65;
}

.seo-hero {
  padding: clamp(56px, 8vw, 112px) clamp(18px, 4vw, 56px) clamp(32px, 5vw, 64px);
}

.seo-hero h1 {
  font-size: clamp(42px, 5.8vw, 78px);
}

.seo-hero .lede {
  max-width: 850px;
}

.seo-content {
  display: grid;
  gap: 14px;
  max-width: 1080px;
  padding: 0 clamp(18px, 4vw, 56px) clamp(56px, 8vw, 96px);
}

.seo-content article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  padding: 22px;
}

.seo-content h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.seo-content p {
  color: var(--muted);
  line-height: 1.65;
}

.seo-content a {
  color: var(--green-dark);
  font-weight: 800;
}

@media (max-width: 1040px) {
  .hero,
  .access {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .workflow,
  .signal-stat-grid,
  .dashboard-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-card.wide {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 700px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .feature-grid,
  .workflow,
  .signal-stat-grid,
  .dashboard-preview-grid,
  .preview-metrics {
    grid-template-columns: 1fr;
  }

  .mini-row {
    grid-template-columns: 0.5fr 1.1fr 0.8fr;
  }

  .mini-row span:nth-child(3),
  .mini-row span:nth-child(4) {
    display: none;
  }

  .row {
    grid-template-columns: 0.6fr 1.2fr 0.6fr;
  }

  .row span:nth-child(4),
  .row em {
    display: none;
  }
}
