:root {
  --ink: #152019;
  --muted: #5d695f;
  --paper: #fbfaf5;
  --white: #ffffff;
  --line: #dce1d8;
  --steel: #315c72;
  --steel-dark: #203f50;
  --safety: #f4b840;
  --clay: #b65f38;
  --green: #2d6a4f;
  --shadow: 0 18px 48px rgba(21, 32, 25, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(251, 250, 245, 0.96);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(21, 32, 25, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.9;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  color: var(--white);
}

.hero-backdrop,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-backdrop {
  background-image: url("assets/field-drive-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 19, 17, 0.9) 0%, rgba(12, 19, 17, 0.7) 38%, rgba(12, 19, 17, 0.16) 78%),
    linear-gradient(0deg, rgba(12, 19, 17, 0.44), rgba(12, 19, 17, 0.06));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 88vh;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 130px 0 56px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

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

.hero h1 {
  max-width: 710px;
  margin: 0;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
}

.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;
  gap: 10px;
  border-radius: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button.primary {
  background: var(--safety);
  color: #1d2119;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.68);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
  display: grid;
  width: min(640px, 100%);
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 44px 0 0;
}

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

.hero-stats dt {
  font-size: 1.65rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.signal-band,
.section,
.product-strip,
.cta-section,
.site-footer {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 64px);
}

.signal-band {
  background: var(--ink);
  color: var(--white);
}

.signal-grid,
.section-heading,
.workflow,
.role-grid,
.proof-grid,
.cta-section,
.site-footer {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: end;
}

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

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.signal-grid p,
.section-heading p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.section-heading {
  margin-bottom: 38px;
}

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

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

.step,
.role-card,
.proof-grid article,
.demo-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.step {
  padding: 24px;
}

.step p,
.role-card p,
.proof-grid p,
.cta-copy p,
.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
}

.step-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #e8f0ea;
  color: var(--green);
}

.step-icon svg,
.proof-grid svg {
  width: 22px;
  height: 22px;
}

.product-strip {
  background: var(--steel-dark);
  color: var(--white);
}

.section-heading.light .mini-label {
  color: var(--safety);
}

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

.role-card {
  display: grid;
  min-height: 470px;
  padding: 24px;
  align-content: space-between;
  overflow: hidden;
  color: var(--ink);
}

.role-kicker {
  color: var(--clay);
}

.phone-mock,
.dashboard-mock,
.crew-mock {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  margin-bottom: 28px;
  border: 1px solid #cbd7d0;
  border-radius: 8px;
  background: #f3f6f0;
}

.phone-mock {
  width: 156px;
  justify-self: center;
  border-radius: 22px;
  padding: 18px 14px;
}

.phone-top {
  width: 46px;
  height: 5px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: #28392f;
}

.mock-item,
.dash-row,
.crew-task {
  height: 24px;
  margin-bottom: 12px;
  border-radius: 6px;
  background: #cddcd1;
}

.mock-item.active {
  height: 58px;
  background: var(--safety);
}

.mock-item.short {
  width: 70%;
}

.dashboard-mock {
  padding: 18px;
}

.dash-bar {
  height: 28px;
  margin-bottom: 18px;
  border-radius: 6px;
  background: var(--steel);
}

.dash-row.high {
  background: #f1cf79;
}

.dash-row.done {
  width: 72%;
  background: #9cc5ab;
}

.dash-chart {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 62%, var(--safety) 62% 82%, #d4dcd2 82%);
}

.crew-mock {
  display: grid;
  padding: 22px;
  align-content: start;
}

.crew-mock span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--safety);
}

.crew-mock strong {
  margin: 18px 0;
  font-size: 1.55rem;
}

.crew-task.wide {
  width: 88%;
}

.crew-check {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.proof-grid article {
  padding: 24px;
}

.proof-grid svg {
  margin-bottom: 20px;
  color: var(--clay);
}

.cta-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 48px;
  align-items: center;
  background: #e8ede7;
}

.cta-copy h2 {
  margin-bottom: 18px;
}

.demo-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.demo-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.demo-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cad2ca;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
}

.demo-form input:focus {
  border-color: var(--steel);
  outline: 3px solid rgba(49, 92, 114, 0.18);
}

.form-button {
  width: 100%;
  border: 0;
  margin-top: 6px;
}

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

.site-footer p {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 940px) {
  .workflow,
  .role-grid,
  .proof-grid,
  .signal-grid,
  .cta-section {
    grid-template-columns: 1fr 1fr;
  }

  .role-card {
    min-height: 420px;
  }

  .cta-section {
    align-items: start;
  }
}

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 67px;
    left: 14px;
    right: 14px;
    display: none;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero,
  .hero-content {
    min-height: 84vh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(12, 19, 17, 0.92) 0%, rgba(12, 19, 17, 0.74) 54%, rgba(12, 19, 17, 0.3) 100%),
      linear-gradient(0deg, rgba(12, 19, 17, 0.44), rgba(12, 19, 17, 0.1));
  }

  .hero-content {
    width: min(100% - 32px, 1120px);
    padding-top: 110px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 19vw, 5.5rem);
  }

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

  .hero-stats,
  .workflow,
  .role-grid,
  .proof-grid,
  .signal-grid,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 18px;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
