:root {
  --ink: #101916;
  --muted: #52605a;
  --paper: #f6f5ef;
  --panel: #ffffff;
  --line: #d7ddd5;
  --green: #158a5b;
  --green-dark: #0c4d3a;
  --coral: #d84f3f;
  --amber: #e4b949;
  --blue: #315d86;
  --shadow: 0 20px 60px rgba(19, 33, 27, 0.16);
}

* {
  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;
  letter-spacing: 0;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: #fff;
  background: rgba(14, 23, 20, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--ink);
  background: var(--amber);
  border-radius: 6px;
  font-size: 12px;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 17, 15, 0.92), rgba(10, 17, 15, 0.58), rgba(10, 17, 15, 0.18)),
    url("assets/messy-csv-clean-leads.jpg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 17, 15, 0.2), rgba(10, 17, 15, 0.86));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 140px 0 44px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9ee5c0;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1;
  font-weight: 820;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.16;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.quote-note {
  max-width: 610px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.button,
.copy-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}

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

.button.primary:hover {
  background: #c54234;
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.34);
}

.button.secondary.dark {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.copy-button {
  color: var(--ink);
  background: transparent;
  border-color: rgba(16, 25, 22, 0.24);
}

.final-cta .copy-button {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.final-cta .copy-button:hover,
.final-cta .copy-button:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 970px;
  margin: 30px 0 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.proof-strip div {
  padding: 18px;
  background: rgba(12, 22, 19, 0.72);
}

.proof-strip dt {
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.proof-strip dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
}

.section {
  padding: 90px 0;
}

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

.intro-band {
  padding: 70px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.two-column,
.final-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
}

.large-text,
.section-heading p,
.case-panel p,
.service-card p,
.step-list p,
.site-footer p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 700px;
}

.case-grid,
.service-grid,
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.case-panel,
.service-card {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(21, 32, 27, 0.06);
}

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

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #26332e;
  line-height: 1.45;
}

.check-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 3px;
  content: "";
  transform: translateY(-50%);
}

.check-list.warning li::before {
  background: var(--coral);
}

.image-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

figure {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 14px;
}

.data-preview {
  margin-top: 18px;
  background: var(--ink);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.automation-case {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: 24px;
  margin-top: 34px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(21, 32, 27, 0.08);
}

.automation-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

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

.mini-metrics div {
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-metrics dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.mini-metrics dd {
  margin: 8px 0 0;
  color: var(--green-dark);
  font-size: 28px;
  font-weight: 820;
}

.automation-figure img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
}

.preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.preview-heading h3 {
  margin-bottom: 0;
}

.preview-heading span {
  color: #9ee5c0;
  font-size: 14px;
  font-weight: 720;
}

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

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: #eef8f2;
  font-size: 14px;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--amber);
  font-size: 12px;
  text-transform: uppercase;
}

.service-band {
  background: #eaf0eb;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  min-height: 250px;
}

.service-index {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--green);
  font-weight: 820;
}

.process-layout {
  align-items: center;
}

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

.step-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step-list span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 6px;
  font-weight: 820;
}

.step-list p {
  margin-bottom: 0;
  font-size: 16px;
}

.trust-band {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fit-grid {
  gap: 48px;
}

.section-kicker.caution {
  color: var(--coral);
}

.check-list.strong,
.check-list.warning {
  margin-top: 26px;
}

.check-list.strong li,
.check-list.warning li {
  padding: 16px 16px 16px 42px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-list.strong li::before,
.check-list.warning li::before {
  left: 18px;
}

.final-cta {
  color: #fff;
  background: var(--green-dark);
}

.final-cta .section-kicker {
  color: var(--amber);
}

.final-cta .large-text,
.copy-status {
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions {
  align-content: start;
  justify-content: flex-start;
}

.copy-status {
  flex-basis: 100%;
  min-height: 22px;
  margin: 2px 0 0;
  font-size: 14px;
}

.brief-card {
  flex-basis: 100%;
  margin-top: 18px;
  padding: 20px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
}

.brief-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.brief-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brief-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.brief-card li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 2px;
  content: "";
  transform: translateY(-50%);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 64px);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

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

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88vh;
    background-position: 56% center;
  }

  .hero-content {
    width: min(100% - 28px, 1160px);
    padding-top: 112px;
  }

  h1 {
    font-size: 46px;
  }

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

  .proof-strip,
  .two-column,
  .final-layout,
  .case-grid,
  .image-row,
  .automation-case,
  .service-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .service-card {
    min-height: auto;
  }

  .preview-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .brief-card ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .button,
  .copy-button {
    width: 100%;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .case-panel,
  .service-card,
  .step-list li {
    padding: 20px;
  }

  .step-list li {
    grid-template-columns: 1fr;
  }
}
