@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Work+Sans:wght@400;500;600;700&display=swap");

:root {
  --green: #0f7a55;
  --green-strong: #07543b;
  --green-soft: #e7f6ee;
  --blue: #073c78;
  --teal: #038f92;
  --gold: #d7952f;
  --ink: #13231d;
  --muted: #63756d;
  --line: #dce9e2;
  --paper: #ffffff;
  --wash: #f4f8f6;
  --shadow: 0 24px 70px rgba(19, 35, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family: "Work Sans", Arial, sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 26px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.scrolled {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(19, 35, 29, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img,
.site-footer img {
  width: 182px;
  height: auto;
  background: #ffffff;
}

.nav-links {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(12px, 3vw, 34px);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a,
.header-cta,
.button {
  transition:
    transform 180ms ease,
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold);
}

.header-cta,
.button {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta {
  color: #ffffff;
  background: var(--green);
}

.site-header.scrolled .header-cta {
  color: #ffffff;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 16px 36px rgba(15, 122, 85, 0.28);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--green-strong);
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(820px, 92vh);
  overflow: hidden;
  align-items: end;
  padding: 132px clamp(18px, 5vw, 72px) 84px;
  color: #ffffff;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.04);
  filter: saturate(0.9) contrast(0.95);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(5, 28, 19, 0.94), rgba(5, 28, 19, 0.74) 42%, rgba(5, 28, 19, 0.35)),
    linear-gradient(0deg, rgba(5, 28, 19, 0.9), rgba(5, 28, 19, 0.05) 54%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(800px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: "Outfit", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
strong {
  font-family: "Outfit", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(4.4rem, 15vw, 11.4rem);
  line-height: 0.84;
  font-weight: 900;
}

h2 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  line-height: 1.02;
  font-weight: 900;
}

h3 {
  margin: 8px 0 10px;
  font-size: 1.3rem;
  line-height: 1.18;
}

.hero-copy {
  width: min(690px, 100%);
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
}

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

.trust-strip {
  display: flex;
  width: min(860px, 100%);
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 52px;
}

.trust-strip span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
  font-weight: 700;
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.metrics-band div {
  min-height: 124px;
  padding: 26px clamp(18px, 3vw, 42px);
  border-right: 1px solid var(--line);
}

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

.metrics-band strong {
  color: var(--green);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.metrics-band span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(70px, 10vw, 128px) clamp(18px, 5vw, 72px);
}

.section-heading {
  width: min(880px, 100%);
  margin-bottom: 38px;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.role-card,
.workflow-grid article {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(19, 35, 29, 0.08);
}

.role-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.role-card span {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--green);
  background: var(--green-soft);
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 900;
}

.role-card p,
.workflow-grid p {
  margin: 0;
  color: var(--muted);
}

.product-band {
  background: #0b1f18;
  color: #ffffff;
}

.product-band .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

.screen-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
  gap: 22px;
  align-items: stretch;
}

.screen-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.screen-card img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  object-position: left top;
}

.screen-card.large img {
  min-height: 520px;
}

.screen-card figcaption {
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.workflow-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(215, 149, 47, 0.16), transparent 28%),
    var(--wash);
}

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

.workflow-grid article {
  min-height: 190px;
}

.workflow-grid strong {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 1.12rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--paper);
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-copy ul {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.contact-copy li {
  padding-left: 28px;
  color: var(--ink);
  font-weight: 700;
  position: relative;
}

.contact-copy li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--green);
  box-shadow: inset 0 0 0 3px var(--green-soft);
}

.lead-form {
  display: grid;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 34px);
  background: linear-gradient(180deg, #ffffff, #f7fbf9);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 800;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid #cbdad2;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.lead-form input:focus,
.lead-form textarea:focus,
.button:focus-visible,
.header-cta:focus-visible,
.nav-links a:focus-visible {
  outline: 3px solid rgba(215, 149, 47, 0.55);
  outline-offset: 3px;
}

.trap-field {
  position: absolute;
  left: -100vw;
  opacity: 0;
}

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

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

.loading-dots {
  display: none;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: spin 720ms linear infinite;
}

.lead-form.submitting .loading-dots {
  display: inline-block;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-note[data-state="success"] {
  color: var(--green);
  font-weight: 800;
}

.form-note[data-state="error"] {
  color: #b42318;
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.site-footer p,
.site-footer a {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1080px) {
  .role-grid,
  .metrics-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen-showcase,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    gap: 14px;
  }

  .brand img {
    width: 152px;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    min-height: 42px;
    padding: 9px 12px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 88vh;
    padding: 116px 18px 54px;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(5, 28, 19, 0.96), rgba(5, 28, 19, 0.72)),
      linear-gradient(0deg, rgba(5, 28, 19, 0.88), rgba(5, 28, 19, 0.14));
  }

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

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

  .trust-strip {
    margin-top: 36px;
  }

  .metrics-band,
  .role-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .metrics-band div {
    min-height: 106px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .role-card,
  .workflow-grid article {
    min-height: 0;
  }

  .screen-card img,
  .screen-card.large img {
    min-height: 280px;
  }

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

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