:root {
  --ink: #10201f;
  --ink-2: #20322f;
  --paper: #f7f4ee;
  --white: #ffffff;
  --line: rgba(16, 32, 31, 0.14);
  --muted: #66736f;
  --teal: #0f9f8d;
  --teal-dark: #087768;
  --amber: #e5a93a;
  --coral: #e46d55;
  --blue: #477dc5;
  --shadow: 0 22px 60px rgba(16, 32, 31, 0.18);
  --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;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 244, 238, 0.94);
  box-shadow: 0 10px 28px rgba(16, 32, 31, 0.08);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--teal);
  font-size: 0.78rem;
}

.site-header.is-scrolled .brand-mark {
  color: var(--white);
}

.nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  align-items: center;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  opacity: 0.86;
}

.nav a:hover {
  opacity: 1;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 17px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #0e1918;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12vh;
  background: linear-gradient(0deg, var(--paper), rgba(247, 244, 238, 0));
  pointer-events: none;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.74;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(10, 19, 18, 0.94) 0%, rgba(10, 19, 18, 0.78) 38%, rgba(10, 19, 18, 0.34) 72%, rgba(10, 19, 18, 0.58) 100%),
    linear-gradient(0deg, rgba(10, 19, 18, 0.72), rgba(10, 19, 18, 0.06) 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 90px;
  padding-bottom: 90px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #98eee2;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal-dark);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7.8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4.7vw, 4.7rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 900;
  letter-spacing: 0;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: #062422;
  background: #9df4e8;
  box-shadow: 0 14px 34px rgba(15, 159, 141, 0.28);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

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

.button.secondary.light {
  color: var(--white);
  background: transparent;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 720px;
  margin-top: 38px;
}

.hero-proof span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 800;
}

.section,
.section-band {
  padding: clamp(74px, 9vw, 128px) clamp(18px, 4vw, 54px);
}

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

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: start;
}

.problem-copy {
  color: var(--ink-2);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
}

.problem-copy p:last-child,
.section-heading p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto clamp(34px, 5vw, 58px);
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.06rem;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.promise-item {
  min-height: 260px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.promise-item p,
.feature-grid p,
.step p,
.case-list span {
  color: var(--muted);
}

.item-kicker {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--teal-dark);
  font-weight: 900;
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.35fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.product-visual {
  overflow: hidden;
  border: 1px solid rgba(16, 32, 31, 0.14);
  border-radius: var(--radius);
  background: #eef3ef;
  box-shadow: var(--shadow);
}

.visual-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  color: var(--ink);
  border-bottom: 1px solid rgba(16, 32, 31, 0.12);
  background: #fffdf9;
  font-size: 0.9rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.dot.teal {
  background: var(--teal);
}

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

.dot.coral {
  background: var(--coral);
}

.kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 10px;
  min-height: 390px;
  padding: 14px;
  overflow-x: auto;
}

.lane {
  min-width: 150px;
  padding: 12px;
  border: 1px solid rgba(16, 32, 31, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.lane.active {
  background: rgba(15, 159, 141, 0.12);
}

.lane.blocked {
  background: rgba(228, 109, 85, 0.1);
}

.lane.done {
  background: rgba(71, 125, 197, 0.1);
}

.lane-title {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ticket {
  padding: 13px;
  margin-bottom: 10px;
  border: 1px solid rgba(16, 32, 31, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(16, 32, 31, 0.08);
}

.ticket.muted {
  opacity: 0.74;
}

.ticket.focus {
  border-color: rgba(15, 159, 141, 0.38);
}

.ticket.warn {
  border-color: rgba(228, 109, 85, 0.32);
}

.ticket.success {
  border-color: rgba(71, 125, 197, 0.32);
}

.ticket strong {
  display: block;
  margin: 7px 0;
  font-size: 0.95rem;
  line-height: 1.2;
}

.ticket small,
.ticket li {
  color: var(--muted);
  font-size: 0.78rem;
}

.ticket ul {
  padding-left: 18px;
  margin: 8px 0 0;
}

.ticket-tag {
  display: inline-flex;
  max-width: 100%;
  color: var(--teal-dark);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.audit-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(16, 32, 31, 0.14);
}

.audit-strip span {
  padding: 12px 14px;
  color: var(--ink-2);
  background: #fffdf9;
  font-size: 0.78rem;
  font-weight: 800;
}

.agent-section {
  padding-top: 8px;
}

.agent-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.step {
  min-height: 250px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--paper);
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 32px;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
}

.feature-section {
  background: #eef4f1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(16, 32, 31, 0.12);
  border: 1px solid rgba(16, 32, 31, 0.12);
}

.feature-grid article {
  min-height: 220px;
  padding: clamp(22px, 3vw, 32px);
  background: #fffdf9;
}

.case-list {
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.case-list div {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  background: var(--paper);
}

.case-list strong {
  font-size: 1.08rem;
}

.cta-section {
  padding: clamp(82px, 10vw, 140px) clamp(18px, 4vw, 54px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(16, 32, 31, 0.98), rgba(8, 119, 104, 0.92)),
    #10201f;
}

.cta-inner {
  max-width: 900px;
}

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

.cta-section p:not(.eyebrow) {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.72);
  background: #10201f;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

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

  .promise-grid,
  .agent-steps,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    margin-right: 18px;
  }
}

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

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 13px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-media img {
    object-position: 63% center;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(10, 19, 18, 0.96), rgba(10, 19, 18, 0.76)),
      linear-gradient(0deg, rgba(10, 19, 18, 0.72), rgba(10, 19, 18, 0.08));
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding-top: 92px;
  }

  .hero-proof {
    margin-top: 28px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.7rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .promise-grid,
  .agent-steps,
  .feature-grid,
  .audit-strip {
    grid-template-columns: 1fr;
  }

  .promise-item,
  .step,
  .feature-grid article {
    min-height: auto;
  }

  .case-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    flex-direction: column;
  }
}
