:root {
  --ink: #14211a;
  --muted: #5c6d64;
  --line: #d7e0dc;
  --paper: #fbfcfb;
  --soft: #eef4f1;
  --field: #216d3a;
  --field-dark: #123a2a;
  --navy: #0e3a53;
  --sky: #d9eefd;
  --gold: #d7ae48;
  --white: #ffffff;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

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

.site-header {
  align-items: center;
  background: rgba(251, 252, 251, 0.94);
  border-bottom: 1px solid rgba(20, 33, 26, 0.08);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 14px 32px;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 19px;
  font-weight: 850;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  background:
    linear-gradient(90deg, transparent 47%, rgba(255, 255, 255, 0.72) 47% 53%, transparent 53%),
    linear-gradient(180deg, var(--field) 0 50%, var(--field-dark) 50% 100%);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.42);
  height: 30px;
  width: 30px;
}

.nav-links {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 12px;
}

.language-toggle {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  padding: 3px;
}

.language-button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  height: 30px;
  min-width: 38px;
}

.language-button.active {
  background: var(--ink);
  color: var(--white);
}

.header-cta,
.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
}

.header-cta {
  background: var(--field-dark);
  color: var(--white);
  font-size: 14px;
  min-height: 38px;
  padding: 0 16px;
}

.button {
  min-height: 50px;
  padding: 0 22px;
}

.button.primary {
  background: var(--gold);
  color: #17170f;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.hero {
  min-height: 600px;
  overflow: hidden;
  position: relative;
}

.hero-bg {
  background-image:
    linear-gradient(90deg, rgba(9, 22, 15, 0.9), rgba(9, 22, 15, 0.68) 46%, rgba(9, 22, 15, 0.22)),
    url("./assets/hero-variability-map.jpg");
  background-position: center;
  background-size: cover;
  inset: 0;
  position: absolute;
}

.hero-content {
  color: var(--white);
  max-width: 900px;
  padding: 58px 32px 52px;
  position: relative;
  width: min(100%, 980px);
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.35;
  margin: 0 0 16px;
  text-transform: uppercase;
}

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

h1 {
  font-size: 58px;
  line-height: 1.04;
  margin-bottom: 22px;
  max-width: 850px;
}

h2 {
  font-size: 40px;
  line-height: 1.12;
  margin-bottom: 16px;
}

h3 {
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.55;
  max-width: 760px;
}

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

.hero-metrics {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 180px));
  margin: 36px 0 0;
  max-width: 650px;
}

.hero-metrics div {
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}

.hero-metrics dt {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-metrics dd {
  color: var(--white);
  font-size: 20px;
  font-weight: 950;
  margin: 4px 0 0;
}

.trust-strip {
  align-items: center;
  background: var(--field-dark);
  color: var(--white);
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
  padding: 28px 32px;
}

.trust-strip p {
  font-size: 17px;
  font-weight: 850;
  margin: 0;
}

.trust-strip p + p {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.section {
  padding: 104px 32px;
  scroll-margin-top: 96px;
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
}

.section-heading {
  margin: 0 auto 46px;
  max-width: 900px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-heading.narrow {
  max-width: 760px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 760px;
}

.pressure {
  background: var(--paper);
}

.pressure-grid,
.process-grid,
.trust-list {
  display: grid;
  gap: 18px;
}

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

.pressure-grid article,
.deliverable-list article,
.process-grid article,
.segment-grid article,
.trust-list article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.pressure-grid span,
.segment-label {
  color: var(--navy);
  display: block;
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.pressure-grid p,
.deliverable-list p,
.process-grid p,
.segment-grid p,
.trust-copy p,
.trust-list p,
.final-cta p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.product-shot,
.samples {
  background: var(--soft);
}

.product-layout {
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
  align-items: start;
}

.report-preview {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.report-preview img {
  background: var(--white);
  width: 100%;
}

figcaption {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  padding: 16px 18px;
}

.deliverable-list {
  display: grid;
  gap: 16px;
}

.step {
  color: var(--gold);
  display: block;
  font-size: 13px;
  font-weight: 950;
  margin-bottom: 14px;
}

.segments {
  background: var(--paper);
}

.segment-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.segment-grid article {
  min-height: 285px;
}

.trust {
  background: #f7f9fa;
}

.trust-layout {
  align-items: start;
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
}

.trust-copy {
  padding-top: 8px;
}

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

.workflow {
  background: var(--paper);
}

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

.sample-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sample-grid a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 170px;
  padding: 26px;
  text-decoration: none;
}

.sample-grid a:hover {
  border-color: var(--field);
}

.sample-grid strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.sample-grid span {
  color: var(--muted);
  display: block;
  line-height: 1.45;
}

.final-cta {
  background: var(--field-dark);
  color: var(--white);
  padding: 104px 32px;
}

.final-cta-inner {
  margin: 0 auto;
  max-width: 920px;
  text-align: center;
}

.final-cta h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 860px;
}

.final-cta p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  margin: 0 auto 30px;
  max-width: 760px;
}

.final-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.final-actions span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.lead-cta {
  align-items: start;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.88fr);
  max-width: 1180px;
  text-align: left;
}

.lead-copy h2,
.lead-copy p:not(.eyebrow) {
  margin-left: 0;
  margin-right: 0;
}

.lead-copy .final-actions {
  justify-content: flex-start;
}

.lead-form {
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 28px;
}

.lead-form label {
  color: var(--ink);
  display: grid;
  font-size: 13px;
  font-weight: 900;
  gap: 7px;
}

.lead-form input,
.lead-form textarea {
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 11px 12px;
  width: 100%;
}

.lead-form textarea {
  line-height: 1.45;
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--field);
  outline: 3px solid rgba(33, 109, 58, 0.14);
}

.lead-form .form-wide,
.lead-form .button,
.lead-form .form-status {
  grid-column: 1 / -1;
}

.lead-form .button {
  border: 0;
  cursor: pointer;
  margin-top: 2px;
  width: 100%;
}

.lead-form .button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  color: var(--muted) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}

.hp-field {
  height: 1px;
  left: -9999px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.footer {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 26px 32px;
}

.footer span:first-child {
  font-weight: 950;
}

.footer span:last-child {
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 1120px) {
  .segment-grid,
  .sample-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-links {
    order: 3;
    width: 100%;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .product-layout,
  .trust-layout,
  .lead-cta {
    grid-template-columns: 1fr;
  }

  .pressure-grid,
  .process-grid,
  .segment-grid,
  .sample-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .segment-grid article {
    min-height: 230px;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand {
    font-size: 18px;
  }

  .header-actions {
    width: 100%;
  }

  .header-cta {
    flex: 1;
  }

  .nav-links {
    gap: 16px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .hero {
    min-height: 0;
  }

  .hero-bg {
    background-image:
      linear-gradient(180deg, rgba(9, 22, 15, 0.92), rgba(9, 22, 15, 0.68)),
      url("./assets/hero-variability-map.jpg");
  }

  .hero-content {
    padding: 40px 20px 44px;
  }

  h1 {
    font-size: 33px;
  }

  h2 {
    font-size: 29px;
  }

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

  .hero-actions {
    margin-top: 24px;
  }

  .button {
    min-height: 48px;
    width: 100%;
    white-space: normal;
  }

  .hero-metrics {
    display: none;
  }

  .trust-strip,
  .pressure-grid,
  .process-grid,
  .segment-grid,
  .sample-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .final-cta {
    padding: 74px 20px;
  }

  .pressure-grid article,
  .deliverable-list article,
  .process-grid article,
  .segment-grid article,
  .trust-list article,
  .sample-grid a {
    padding: 24px;
  }

  .segment-grid article,
  .sample-grid a {
    min-height: 0;
  }

  .product-layout {
    gap: 20px;
  }

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

  .lead-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 20px;
  }
}
