:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #5e6a62;
  --soft: #eef3ec;
  --paper: #f9faf7;
  --line: #dbe3d7;
  --green: #1f7a4d;
  --green-dark: #145c38;
  --blue: #1f5c8f;
  --amber: #b96b19;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(27, 39, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(219, 227, 215, 0.78);
  background: rgba(249, 250, 247, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.96rem;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.3vw, 30px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--green-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  min-height: calc(100vh - 79px);
  padding: clamp(48px, 7vw, 96px) clamp(20px, 4vw, 64px) 42px;
}

.hero-copy {
  max-width: 760px;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 7vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

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

h3 {
  font-size: 1.05rem;
  line-height: 1.22;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(31, 122, 77, 0.22);
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin: 0;
}

.proof-row div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.proof-row dt {
  margin-bottom: 6px;
  font-weight: 800;
}

.proof-row dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.workflow-panel {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 243, 236, 0.94)),
    var(--white);
  box-shadow: var(--shadow);
}

.workflow-panel::before {
  content: "";
  position: absolute;
  inset: 14px 14px auto auto;
  width: 88px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--amber));
}

.panel-top {
  display: grid;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-top span,
.message span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-top strong {
  font-size: 1.38rem;
}

.message-stack {
  display: grid;
  gap: 14px;
  padding: 22px 0;
}

.message {
  max-width: 88%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
}

.message p {
  margin: 6px 0 0;
  line-height: 1.35;
}

.message.agent {
  justify-self: end;
  border-color: rgba(31, 122, 77, 0.26);
  background: #edf8f2;
}

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

.task-grid div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--muted);
}

.status-dot.done {
  background: var(--green);
}

.status-dot.live {
  background: var(--amber);
}

.panel-note {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(20px, 4vw, 64px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.intro h2 {
  margin-bottom: 0;
}

.intro p:last-child {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.6;
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.services {
  background: var(--paper);
}

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

.service-card {
  display: flex;
  min-height: 326px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card-icon {
  display: grid;
  width: 44px;
  height: 34px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.service-card p {
  color: var(--muted);
  line-height: 1.55;
}

.service-card ul,
.fit-lists ul {
  display: grid;
  gap: 9px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.fit-lists li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.service-card li::before,
.fit-lists li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

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

.delivery .eyebrow {
  color: #94d1af;
}

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

.step {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.step span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #bce7cd;
  font-weight: 800;
}

.step p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.fit {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 76px);
  background: var(--white);
}

.fit-copy p:last-child {
  max-width: 590px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

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

.fit-lists > div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.fit-lists h3 {
  margin-bottom: 18px;
}

.fit-lists li {
  line-height: 1.35;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: clamp(20px, 4vw, 64px);
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
  background: var(--green-dark);
  color: var(--white);
}

.cta h2 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.8vw, 4.6rem);
}

.cta p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.58;
}

.cta .eyebrow {
  color: #bce7cd;
}

.cta .button-primary {
  background: var(--white);
  color: var(--green-dark);
  box-shadow: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 4vw, 64px) 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .fit,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .workflow-panel {
    max-width: 680px;
  }

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

  .cta {
    margin: 20px;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.84rem;
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 4.4rem);
  }

  .proof-row,
  .service-grid,
  .delivery-grid,
  .fit-lists,
  .task-grid {
    grid-template-columns: 1fr;
  }

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

  .message {
    max-width: 100%;
  }

  .footer {
    flex-direction: column;
  }
}
