:root {
  color-scheme: light;
  --bg: #f3f7f5;
  --surface: #ffffff;
  --surface-soft: #eaf2ef;
  --ink: #10231f;
  --muted: #586a65;
  --line: #d4e1dc;
  --primary: #087c70;
  --primary-strong: #05675e;
  --navy: #132923;
  --cream: #f5eee2;
  --shadow: 0 24px 70px rgba(16, 35, 31, 0.11);
  --shadow-soft: 0 14px 40px rgba(16, 35, 31, 0.07);
  --ring: 0 0 0 4px rgba(8, 124, 112, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 8% 4%, rgba(8, 124, 112, 0.1), transparent 28rem),
    linear-gradient(180deg, #fbfdfc 0, var(--bg) 38rem);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  margin: 0;
  min-width: 320px;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

.page-width {
  margin-inline: auto;
  width: min(calc(100% - 48px), 1180px);
}

.skip-link {
  background: var(--navy);
  border-radius: 0 0 8px 0;
  color: #fff;
  font-weight: 800;
  left: 0;
  padding: 10px 14px;
  position: fixed;
  top: 0;
  transform: translateY(-120%);
  transition: transform 120ms ease;
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  padding-top: 14px;
  position: relative;
  z-index: 10;
}

.site-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(203, 219, 213, 0.95);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(16, 35, 31, 0.055);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto 1fr;
  min-height: 70px;
  padding: 10px 12px 10px 16px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 19px;
  font-weight: 900;
  gap: 10px;
  justify-self: start;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand img {
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: 0 5px 14px rgba(16, 35, 31, 0.09);
}

.nav-links,
.nav-actions,
.hero-actions,
.local-actions,
.final-actions,
.footer-links {
  align-items: center;
  display: flex;
  gap: 8px;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 10px;
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--primary-strong);
}

.nav-actions {
  justify-self: end;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 850;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  text-decoration: none;
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 80ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible,
.nav-links a:focus-visible,
.footer-links a:focus-visible,
.brand:focus-visible {
  border-radius: 9px;
  box-shadow: var(--ring);
  outline: none;
}

.button-primary {
  background: linear-gradient(180deg, #0b887a, var(--primary));
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.14), 0 7px 18px rgba(8, 124, 112, 0.17);
  color: #fff;
}

.button-primary:hover {
  background: var(--primary-strong);
  box-shadow: 0 10px 24px rgba(8, 124, 112, 0.24);
}

.button-secondary {
  background: var(--navy);
  color: #fff;
}

.button-secondary:hover {
  background: #1b3931;
}

.button-quiet {
  background: #edf4f1;
  border-color: #e2ece8;
  color: var(--ink);
}

.button-quiet:hover {
  background: #e1ece8;
  border-color: #ccdcd6;
}

.button-large {
  font-size: 14px;
  min-height: 49px;
  padding-inline: 20px;
}

.hero {
  padding: 84px 0 0;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(42px, 7vw, 90px);
  grid-template-columns: minmax(0, 0.95fr) minmax(500px, 1.05fr);
}

.eyebrow {
  color: var(--primary-strong);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(48px, 6.4vw, 78px);
  margin-bottom: 25px;
  max-width: 760px;
}

h2 {
  font-size: clamp(34px, 4.2vw, 53px);
  margin-bottom: 18px;
}

h3 {
  font-size: 21px;
}

.hero-lede {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
  max-width: 650px;
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 31px;
}

.hero-note {
  color: #71817c;
  font-size: 12px;
  font-weight: 700;
  margin: 15px 0 0;
}

.product-preview {
  background: #fff;
  border: 1px solid #cbdad5;
  border-radius: 22px;
  box-shadow: var(--shadow);
  min-width: 0;
  overflow: hidden;
  transform: rotate(1deg);
}

.preview-topbar {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 13px 16px;
}

.preview-brand {
  align-items: center;
  display: flex;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
}

.preview-brand img {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.preview-job {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  padding: 5px 9px;
}

.preview-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 400px;
}

.preview-photo {
  background:
    linear-gradient(145deg, rgba(18, 39, 33, 0.08), rgba(18, 39, 33, 0.5)),
    linear-gradient(160deg, #5f8871 0 34%, #c8c2a5 35% 39%, #4c765f 40% 100%);
  min-height: 400px;
  overflow: hidden;
  position: relative;
}

.field-lines {
  border: solid rgba(255, 255, 255, 0.66);
  border-width: 2px 0;
  height: 128px;
  left: -20px;
  position: absolute;
  right: -20px;
  top: 140px;
  transform: rotate(-12deg);
}

.field-lines::after,
.field-lines::before {
  background: rgba(255, 255, 255, 0.7);
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
}

.field-lines::before {
  top: 40px;
}

.field-lines::after {
  top: 82px;
}

.photo-number {
  align-items: center;
  background: #f2efe3;
  border: 5px solid #6e2622;
  border-radius: 18px;
  box-shadow: 0 20px 30px rgba(10, 24, 20, 0.23);
  color: #6e2622;
  display: flex;
  font-size: 36px;
  font-weight: 950;
  height: 104px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 47%;
  transform: translate(-50%, -50%) rotate(-5deg);
  width: 92px;
  z-index: 1;
}

.photo-state {
  background: rgba(16, 35, 31, 0.9);
  border-radius: 999px;
  bottom: 14px;
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  left: 14px;
  padding: 7px 10px;
  position: absolute;
}

.preview-caption {
  background: #f6f9f8;
  padding: 22px;
}

.preview-label {
  color: #6e7e79;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.1em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.preview-caption > p:not(.preview-label) {
  color: #344842;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.match-row {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  display: flex;
  gap: 10px;
  margin: 16px 0 21px;
  padding: 10px;
}

.match-code {
  align-items: center;
  background: var(--navy);
  border-radius: 8px;
  color: #fff;
  display: flex;
  font-size: 11px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 42px;
}

.match-row > span:last-child {
  display: grid;
}

.match-row strong {
  font-size: 12px;
}

.match-row small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.caption-copy {
  background: #fff;
  border: 1px solid #b9d8cf;
  border-left: 3px solid var(--primary);
  border-radius: 9px;
  padding: 12px;
}

.preview-ready {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-top: 14px;
}

.preview-ready span {
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  padding: 6px 9px;
}

.preview-ready span:first-child {
  background: #dff1ea;
  color: #075a4f;
}

.preview-ready span:last-child {
  background: #e7ecea;
  color: #52635e;
}

.proof-strip {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 86px;
  padding: 22px 0;
}

.proof-strip span {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.proof-strip strong {
  color: var(--ink);
}

.section {
  padding-bottom: 110px;
  padding-top: 110px;
  scroll-margin-top: 20px;
}

.section-intro {
  max-width: 780px;
}

.section-intro > p:last-child {
  color: var(--muted);
  font-size: 17px;
  max-width: 680px;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: var(--shadow-soft);
  min-height: 270px;
  padding: 28px;
}

.feature-number {
  color: var(--primary);
  display: block;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  margin-bottom: 52px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}

.workflow-section {
  background:
    radial-gradient(circle at 90% 0, rgba(24, 132, 115, 0.25), transparent 30rem),
    var(--navy);
  color: #fff;
}

.section-intro-light .eyebrow {
  color: #72d1c0;
}

.section-intro-light h2 {
  max-width: 740px;
}

.workflow-list {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 53px 0 0;
  padding: 0;
}

.workflow-list li {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  min-height: 225px;
  padding: 25px 26px 12px 0;
}

.workflow-list li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 26px;
}

.workflow-list li > span {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #a6ded3;
  display: flex;
  font-size: 11px;
  font-weight: 900;
  height: 31px;
  justify-content: center;
  margin-bottom: 49px;
  width: 31px;
}

.workflow-list h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.workflow-list p {
  color: #b8c9c4;
  font-size: 13px;
  margin: 0;
}

.local-ingest {
  align-items: center;
  display: grid;
  gap: clamp(44px, 8vw, 100px);
  grid-template-columns: minmax(0, 0.94fr) minmax(460px, 1.06fr);
}

.local-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
}

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

.check-list li {
  color: #334741;
  font-size: 13px;
  font-weight: 750;
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  align-items: center;
  background: #dff1ea;
  border-radius: 999px;
  color: var(--primary-strong);
  content: "✓";
  display: flex;
  font-size: 10px;
  font-weight: 950;
  height: 18px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 1px;
  width: 18px;
}

.local-actions {
  align-items: flex-start;
  flex-direction: column;
}

.local-actions span {
  color: #72817d;
  font-size: 11px;
  font-weight: 700;
}

.card-scan {
  background: #fff;
  border: 1px solid #c8d8d2;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.scan-heading {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 20px 22px;
}

.scan-heading > span:first-child {
  display: grid;
}

.scan-heading small,
.scan-file small,
.scan-metrics small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scan-heading strong {
  font-size: 14px;
}

.scan-ready {
  background: #dff1ea;
  border-radius: 999px;
  color: #075a4f;
  font-size: 10px;
  font-weight: 900;
  padding: 6px 10px;
}

.scan-metrics {
  background: #f5f8f7;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.scan-metrics > span {
  display: grid;
  padding: 17px 22px;
}

.scan-metrics > span + span {
  border-left: 1px solid var(--line);
}

.scan-metrics strong {
  font-size: 23px;
}

.scan-file {
  align-items: center;
  border-top: 1px solid #e5ece9;
  display: grid;
  font-size: 11px;
  gap: 12px;
  grid-template-columns: 26px 1fr auto;
  padding: 13px 22px;
}

.scan-file > span:nth-child(2) {
  display: grid;
}

.scan-file > span:last-child {
  color: var(--muted);
  font-weight: 700;
}

.file-check {
  align-items: center;
  background: var(--primary);
  border-radius: 6px;
  color: #fff;
  display: flex;
  font-size: 10px;
  font-weight: 900;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.scan-action {
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  margin: 16px 22px 20px;
  padding: 13px 16px;
  text-align: center;
}

.metadata-section {
  background: var(--cream);
  border-bottom: 1px solid #e5dac7;
  border-top: 1px solid #e5dac7;
}

.metadata-grid {
  display: grid;
  gap: clamp(45px, 9vw, 120px);
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
}

.metadata-grid > div:last-child > p {
  color: #5f625d;
  font-size: 17px;
  line-height: 1.7;
}

.metadata-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 25px;
}

.metadata-tags span {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid #ded1bd;
  border-radius: 999px;
  color: #4e554f;
  font-size: 11px;
  font-weight: 850;
  padding: 7px 11px;
}

.final-cta {
  align-items: center;
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr auto;
  padding-bottom: 105px;
  padding-top: 105px;
}

.final-cta h2 {
  font-size: clamp(31px, 4vw, 48px);
  margin-bottom: 0;
  max-width: 780px;
}

.site-footer {
  background: var(--navy);
  color: #fff;
}

.footer-inner {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr auto;
  min-height: 105px;
}

.footer-brand {
  color: #fff;
}

.footer-inner p {
  color: #a9bbb5;
  font-size: 12px;
  margin: 0;
}

.footer-links a {
  color: #c8d6d2;
}

@media (max-width: 980px) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-grid,
  .local-ingest,
  .metadata-grid {
    grid-template-columns: 1fr;
  }

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

  .product-preview {
    margin-inline: auto;
    max-width: 680px;
    transform: none;
    width: 100%;
  }

  .proof-strip {
    margin-top: 65px;
  }

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

  .feature-card {
    min-height: 0;
  }

  .feature-number {
    margin-bottom: 32px;
  }

  .workflow-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-list li:nth-child(3) {
    border-left: 0;
  }

  .card-scan {
    margin-inline: auto;
    max-width: 620px;
    width: 100%;
  }

  .final-cta {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .final-actions {
    justify-self: start;
  }

  .footer-inner {
    grid-template-columns: auto 1fr;
    padding-block: 25px;
  }

  .footer-links {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  html {
    scroll-behavior: auto;
  }

  .page-width {
    width: min(calc(100% - 28px), 1180px);
  }

  .site-header {
    padding-top: 8px;
  }

  .site-nav {
    border-radius: 13px;
    gap: 10px;
    min-height: 62px;
    padding: 8px 9px 8px 11px;
  }

  .brand {
    font-size: 16px;
    gap: 8px;
  }

  .brand img {
    height: 36px;
    width: 36px;
  }

  .nav-actions .button-quiet {
    display: inline-flex;
  }

  .site-nav .brand > span {
    display: none;
  }

  .nav-actions .button {
    font-size: 11px;
    min-height: 38px;
    padding-inline: 10px;
  }

  .hero {
    padding-top: 51px;
  }

  h1 {
    font-size: clamp(41px, 13vw, 58px);
  }

  h2 {
    font-size: 34px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .preview-body {
    grid-template-columns: 1fr;
  }

  .preview-photo {
    min-height: 260px;
  }

  .preview-caption {
    padding: 18px;
  }

  .proof-strip {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .section {
    padding-bottom: 78px;
    padding-top: 78px;
  }

  .feature-grid {
    margin-top: 36px;
  }

  .feature-card {
    padding: 23px;
  }

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

  .workflow-list li,
  .workflow-list li + li,
  .workflow-list li:nth-child(3) {
    border-left: 0;
    min-height: 0;
    padding: 22px 0 28px;
  }

  .workflow-list li > span {
    margin-bottom: 26px;
  }

  .scan-heading,
  .scan-file {
    padding-inline: 15px;
  }

  .scan-metrics > span {
    padding-inline: 15px;
  }

  .scan-action {
    margin-inline: 15px;
  }

  .metadata-grid {
    gap: 25px;
  }

  .metadata-grid > div:last-child > p {
    font-size: 15px;
  }

  .final-cta {
    padding-bottom: 78px;
    padding-top: 78px;
  }

  .final-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding-block: 30px;
  }

  .footer-links {
    grid-column: 1;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
