:root {
  color-scheme: light;
  --ink: #141a16;
  --ink-soft: #334039;
  --paper: #f7f4ec;
  --paper-2: #efe9dc;
  --line: #d9d0bf;
  --green: #1f6b4b;
  --green-dark: #0f3f31;
  --amber: #d39435;
  --blue: #386b86;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(25, 31, 27, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px 32px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(10, 15, 12, 0.78), rgba(10, 15, 12, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.94rem;
}

.nav-action {
  justify-self: end;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 15, 12, 0.88) 0%, rgba(9, 15, 12, 0.58) 44%, rgba(9, 15, 12, 0.24) 100%),
    url("/assets/hero-industrial-floor.jpg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 15, 12, 0.72) 0%, rgba(9, 15, 12, 0) 45%);
}

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

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 5rem;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  width: min(660px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.35rem;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 13px 18px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 150ms ease,
    background 150ms ease,
    color 150ms ease;
}

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

.button-primary {
  background: var(--amber);
  color: #1c1508;
}

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

.hero-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(18, 25, 21, 0.74);
  backdrop-filter: blur(12px);
}

.hero-metrics div {
  padding: 18px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 1.6rem;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.74);
}

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

.positioning {
  padding: 78px 0;
  background: var(--paper);
}

.positioning-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: 2.6rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.positioning p:last-child,
.product-copy p,
.intake-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.workflow {
  padding: 80px 0;
  background: var(--green-dark);
  color: var(--white);
}

.section-heading {
  max-width: 720px;
}

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

.workflow-step {
  min-height: 240px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.workflow-step span {
  color: var(--amber);
  font-weight: 900;
}

.workflow-step h3 {
  margin: 36px 0 10px;
  font-size: 1.18rem;
}

.workflow-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.product-view {
  padding: 92px 0;
  background: var(--paper-2);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 56px;
  align-items: center;
}

.product-copy h2,
.intake-copy h2 {
  margin-bottom: 18px;
}

.value-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.value-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
}

.value-list li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.report-panel {
  border: 1px solid rgba(20, 26, 22, 0.12);
  border-radius: 8px;
  background: #fbfaf5;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.report-topbar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  background: var(--ink);
}

.report-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
}

.report-topbar span:nth-child(2) {
  background: var(--blue);
}

.report-topbar span:nth-child(3) {
  background: var(--green);
}

.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  border-bottom: 1px solid var(--line);
}

.report-header p,
.report-header h3 {
  margin: 0;
}

.report-header p {
  color: var(--blue);
  font-weight: 800;
}

.report-header h3 {
  margin-top: 4px;
  font-size: 1.45rem;
}

.report-header strong {
  display: grid;
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  place-items: center;
  border: 10px solid var(--green);
  border-radius: 50%;
  color: var(--green-dark);
  font-size: 1.4rem;
}

.report-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
}

.report-row span {
  color: var(--ink-soft);
}

.recommendations {
  display: grid;
  gap: 10px;
  padding: 24px 28px 28px;
}

.recommendations h4 {
  margin: 0 0 4px;
}

.recommendations div {
  padding: 12px 14px;
  border-left: 4px solid var(--amber);
  border-radius: 6px;
  background: #f1eadb;
  font-weight: 750;
}

.intake-section {
  padding: 92px 0;
  background: var(--paper);
}

.intake-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 54px;
  align-items: start;
}

.intake-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 54px rgba(53, 48, 38, 0.13);
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfc4b1;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fffcf6;
}

input:focus {
  outline: 3px solid rgba(31, 107, 75, 0.22);
  border-color: var(--green);
}

.submit-button {
  width: 100%;
  margin-top: 18px;
}

.form-status {
  min-height: 28px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-weight: 750;
}

.form-status.success {
  color: var(--green-dark);
}

.form-status.error {
  color: #8b261e;
}

.footer {
  padding: 30px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-grid span:first-child {
  color: var(--white);
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 14px 18px;
  }

  .nav-links {
    display: none;
  }

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

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    padding: 120px 0 110px;
  }

  .hero h1 {
    font-size: 3.4rem;
  }

  .hero-copy {
    font-size: 1.12rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .positioning-grid,
  .product-grid,
  .intake-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  h2 {
    font-size: 2rem;
  }

  .product-grid,
  .intake-grid {
    align-items: stretch;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: absolute;
  }

  .nav-action {
    display: none;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-copy {
    max-width: 32ch;
    font-size: 1rem;
    line-height: 1.42;
  }

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

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

  .workflow-step {
    min-height: auto;
  }

  .report-header,
  .report-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .intake-form {
    padding: 20px;
  }

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