:root {
  color-scheme: light;
  --ink: #17201b;
  --muted: #5c6860;
  --line: #d9e0dc;
  --surface: #f7f8f4;
  --surface-strong: #ecefe6;
  --white: #ffffff;
  --green: #214f3b;
  --green-soft: #dceadf;
  --copper: #a85f36;
  --blue: #375f7a;
  --shadow: 0 18px 54px rgba(23, 32, 27, 0.12);
  --radius: 8px;
  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(--surface);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(247, 248, 244, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: calc(100svh - 67px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(23, 32, 27, 0.92), rgba(23, 32, 27, 0.54) 48%, rgba(23, 32, 27, 0.2)),
    linear-gradient(0deg, rgba(23, 32, 27, 0.92), rgba(23, 32, 27, 0.08) 42%),
    url("/assets/workflow-operations.jpg");
  background-position: center;
  background-size: cover;
}

.hero-content {
  width: min(780px, 100%);
  padding: clamp(72px, 12vw, 128px) clamp(20px, 6vw, 72px) clamp(64px, 12vw, 116px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0b087;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.7rem, 8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

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

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

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--green);
  color: var(--white);
}

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

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

.section {
  padding: clamp(58px, 9vw, 110px) clamp(20px, 5vw, 64px);
}

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

.two-column,
.method-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
}

.intro p,
.method-layout p,
.contact-layout p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.workflow-card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card-index {
  color: var(--blue);
  font-weight: 850;
}

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

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  background: var(--white);
  box-shadow: var(--shadow);
}

.steps span {
  color: var(--muted);
}

.proof-band {
  background: var(--green);
  color: var(--white);
}

.proof {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.proof h2 {
  max-width: 520px;
}

.proof ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.86);
}

.contact-section {
  background: var(--surface-strong);
}

.contact-fallback {
  margin-top: 22px !important;
}

.contact-fallback a {
  color: var(--green);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 720;
}

input,
textarea {
  width: 100%;
  border: 1px solid #bcc8c0;
  border-radius: 7px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
.button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--green-soft);
  outline-offset: 2px;
}

.hidden-field {
  display: none;
}

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

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.simple-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.message-panel {
  width: min(620px, 100%);
  padding: clamp(28px, 6vw, 48px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.message-panel h1 {
  max-width: none;
  color: var(--ink);
  font-size: clamp(2.2rem, 7vw, 4rem);
}

.message-panel p:not(.eyebrow) {
  color: var(--muted);
}

@media (max-width: 880px) {
  .site-header,
  .proof {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-backdrop {
    background-image:
      linear-gradient(0deg, rgba(23, 32, 27, 0.94), rgba(23, 32, 27, 0.45)),
      url("/assets/workflow-operations.jpg");
  }

  .two-column,
  .method-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .brand {
    font-size: 0.95rem;
  }

  nav a {
    font-size: 0.9rem;
  }

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

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

  .button {
    width: 100%;
  }
}
