:root {
  --ink: #0f1720;
  --ink-2: #1f2c36;
  --muted: #5b6873;
  --line: #d8e0e5;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --green: #176b3a;
  --green-2: #0f4d35;
  --blue: #1f5f87;
  --amber: #c78a24;
  --shadow: 0 20px 50px rgba(15, 23, 32, 0.13);
  --max: 1180px;
}

* {
  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;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 22px clamp(20px, 4vw, 58px);
  position: fixed;
  right: 0;
  top: 0;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
  z-index: 10;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(9, 16, 20, 0.94);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  padding-bottom: 16px;
  padding-top: 16px;
}

.brand {
  align-items: baseline;
  color: #fff;
  display: inline-flex;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 800;
  line-height: 1;
}

.brand strong {
  color: #2fb55c;
}

.site-nav {
  align-items: center;
  color: #fff;
  display: flex;
  gap: clamp(18px, 2vw, 32px);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.94;
}

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

.nav-cta {
  background: var(--green);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 13px 18px;
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 8px;
  width: 42px;
}

.nav-toggle span {
  background: #fff;
  display: block;
  height: 2px;
  margin: 6px 0;
  width: 24px;
}

.hero {
  min-height: 86vh;
  overflow: hidden;
  position: relative;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(7, 12, 15, 0.88) 0%, rgba(7, 12, 15, 0.72) 32%, rgba(7, 12, 15, 0.2) 64%, rgba(7, 12, 15, 0.05) 100%),
    url("assets/hero-ai-workflows.png") center / cover;
  inset: 0;
  position: absolute;
}

.hero-content {
  color: #fff;
  max-width: 720px;
  padding: 31vh clamp(20px, 5vw, 72px) 15vh;
  position: relative;
}

.hero h1 {
  font-size: clamp(4.4rem, 11vw, 8.7rem);
  letter-spacing: 0;
  line-height: 0.88;
  margin: 0 0 28px;
}

.hero p {
  font-size: clamp(1.35rem, 2.8vw, 2.25rem);
  font-weight: 650;
  line-height: 1.25;
  margin: 0;
  max-width: 670px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 48px;
}

.button {
  align-items: center;
  border: 1px solid currentColor;
  display: inline-flex;
  font-size: 0.98rem;
  font-weight: 800;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

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

.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.button.primary:hover {
  background: #1f7d46;
  border-color: #1f7d46;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.82);
  color: #fff;
}

.service-band,
.audit-section,
.fit-section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.section-heading {
  margin: 0 auto clamp(38px, 5vw, 62px);
  max-width: 720px;
  text-align: center;
}

.section-heading h2,
.audit-copy h2,
.cta-band h2 {
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 16px;
}

.section-heading p,
.audit-copy p,
.cta-band p {
  color: var(--muted);
  font-size: clamp(1.03rem, 1.5vw, 1.2rem);
  margin: 0;
}

.service-list {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: var(--max);
}

.service-item {
  border-left: 1px solid var(--line);
  display: flex;
  gap: 18px;
  padding: 8px 28px 10px;
}

.service-item:first-child {
  border-left: 0;
}

.service-icon {
  color: var(--green);
  flex: 0 0 auto;
  width: 43px;
}

.service-icon.blue {
  color: var(--blue);
}

.service-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 100%;
}

.service-item h3,
.fit-grid h3,
.steps h3 {
  font-size: 1rem;
  line-height: 1.25;
  margin: 0 0 8px;
}

.service-item p,
.fit-grid p,
.steps p {
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0;
}

.audit-section {
  align-items: center;
  background: var(--soft);
  display: grid;
  gap: clamp(40px, 8vw, 110px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
}

.audit-copy {
  margin-left: auto;
  max-width: 610px;
}

.audit-copy p {
  max-width: 560px;
}

.audit-frame {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-top: 38px;
  padding: 28px;
}

.map-title {
  color: var(--ink-2);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 1.3rem;
  margin-bottom: 22px;
  text-align: center;
}

.process-map {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr;
}

.process-map span {
  border: 1px solid #8b99a3;
  color: var(--ink-2);
  font-size: 0.8rem;
  font-weight: 700;
  min-height: 54px;
  padding: 13px 8px;
  text-align: center;
}

.process-map i {
  background: #8b99a3;
  display: block;
  height: 1px;
  position: relative;
}

.process-map i::after {
  border-bottom: 4px solid transparent;
  border-left: 6px solid #8b99a3;
  border-top: 4px solid transparent;
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
}

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

.steps li {
  align-items: flex-start;
  display: grid;
  gap: 22px;
  grid-template-columns: 58px 1fr;
}

.steps span {
  align-items: center;
  background: var(--green-2);
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-size: 1rem;
  font-weight: 900;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.steps li:nth-child(even) span {
  background: var(--blue);
}

.cta-band {
  align-items: center;
  background:
    linear-gradient(100deg, rgba(7, 19, 20, 0.95), rgba(16, 58, 49, 0.94)),
    var(--green-2);
  color: #fff;
  display: flex;
  gap: 34px;
  justify-content: space-between;
  padding: clamp(48px, 6vw, 78px) clamp(20px, 8vw, 132px);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
}

.cta-band .button {
  min-width: 220px;
}

.fit-section {
  background: #fff;
}

.fit-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: var(--max);
}

.fit-grid article {
  border-left: 1px solid var(--line);
  padding: 4px 32px;
  text-align: center;
}

.fit-grid article:first-child {
  border-left: 0;
}

.industry-row {
  color: var(--ink-2);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 14px;
  justify-content: center;
  margin: 56px auto 0;
  max-width: 900px;
}

.industry-row span {
  border-bottom: 2px solid rgba(31, 95, 135, 0.24);
  padding: 0 4px 8px;
}

.site-footer {
  background: #0b1418;
  color: #fff;
  padding: 52px clamp(20px, 5vw, 72px) 28px;
}

.site-footer .brand {
  font-size: 2rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.72);
  margin: 14px 0 0;
  max-width: 310px;
}

.footer-links {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  margin-left: auto;
  max-width: 650px;
}

.site-footer {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(240px, 1fr) minmax(440px, 0.95fr);
}

.footer-links h2 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0 0 14px;
}

.footer-links a,
.footer-links span {
  color: rgba(255, 255, 255, 0.68);
  display: block;
  font-size: 0.9rem;
  margin: 8px 0;
}

.legal {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  font-size: 0.82rem;
  gap: 12px;
  grid-column: 1 / -1;
  padding-top: 22px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    background: rgba(9, 16, 20, 0.98);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 14px 20px 24px;
    position: absolute;
    right: 0;
    top: 74px;
  }

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

  .site-nav a {
    padding: 14px 0;
    width: 100%;
  }

  .nav-cta {
    margin-top: 10px;
    padding-left: 18px;
    padding-right: 18px;
    text-align: center;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(7, 12, 15, 0.83) 0%, rgba(7, 12, 15, 0.72) 46%, rgba(7, 12, 15, 0.26) 100%),
      url("assets/hero-ai-workflows.png") 58% center / cover;
  }

  .hero-content {
    padding-bottom: 12vh;
    padding-top: 24vh;
  }

  .service-list,
  .fit-grid,
  .audit-section {
    grid-template-columns: 1fr;
  }

  .service-item,
  .fit-grid article {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 24px 0;
  }

  .service-item:first-child,
  .fit-grid article:first-child {
    border-top: 0;
  }

  .audit-copy {
    margin-left: 0;
    max-width: none;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-links {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand {
    font-size: 1.45rem;
  }

  .hero {
    min-height: 80vh;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13.5vw, 3.45rem);
  }

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

  .cta-band .button {
    min-width: 0;
  }

  .process-map {
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .process-map i {
    height: 22px;
    justify-self: center;
    width: 1px;
  }

  .process-map i::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #8b99a3;
    border-bottom: 0;
    left: -3px;
    right: auto;
    top: auto;
    bottom: 0;
  }

  .steps li {
    grid-template-columns: 46px 1fr;
  }

  .steps span {
    height: 46px;
    width: 46px;
  }

  .legal {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
