:root {
  --paper: #f7f4ee;
  --paper-strong: #fffdf8;
  --ink: #1d2430;
  --muted: #5d6674;
  --line: #ded8cd;
  --green: #1f7a5b;
  --green-soft: #dcefe6;
  --blue: #2467a8;
  --blue-soft: #dce9f5;
  --amber: #b66d1f;
  --amber-soft: #f4e4cf;
  --red: #b8473f;
  --red-soft: #f1d9d6;
  --shadow: 0 18px 50px rgba(29, 36, 48, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::selection {
  background: var(--green-soft);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(222, 216, 205, .82);
  background: rgba(247, 244, 238, .92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  font-size: clamp(18px, 2vw, 21px);
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 32px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-strong);
  font-size: 13px;
  font-weight: 850;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.8vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  padding: 10px 0;
}

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

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(86svh - 72px);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(64px, 9vw, 110px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: #f2efe7;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(29,36,48,.08) 1px, transparent 1px) 0 0 / 76px 76px,
    linear-gradient(0deg, rgba(29,36,48,.08) 1px, transparent 1px) 0 0 / 76px 76px,
    #f2efe7;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

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

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(56px, 11vw, 132px);
  line-height: .88;
  letter-spacing: 0;
}

.lead {
  max-width: 700px;
  margin: clamp(22px, 3vw, 34px) 0 0;
  color: #303947;
  font-size: clamp(19px, 2.3vw, 28px);
  line-height: 1.25;
  font-weight: 560;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 760;
  line-height: 1.2;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}

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

.button.primary {
  gap: 10px;
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 253, 248, .78);
}

.button.dark {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .92;
}

.signal-grid {
  position: absolute;
  right: clamp(16px, 5vw, 90px);
  bottom: clamp(24px, 8vw, 90px);
  display: grid;
  grid-template-columns: repeat(4, 60px);
  gap: 10px;
}

.signal-grid span {
  aspect-ratio: 1;
  border: 1px solid rgba(29, 36, 48, .16);
  background: rgba(255, 253, 248, .64);
}

.signal-grid span:nth-child(2n) {
  background: rgba(220, 239, 230, .82);
}

.signal-grid span:nth-child(5),
.signal-grid span:nth-child(8),
.signal-grid span:nth-child(11) {
  background: rgba(244, 228, 207, .86);
}

.ops-board {
  position: absolute;
  width: clamp(210px, 23vw, 330px);
  padding: 16px;
  border: 1px solid rgba(29, 36, 48, .18);
  border-radius: 8px;
  background: rgba(255, 253, 248, .86);
  box-shadow: var(--shadow);
}

.board-a {
  top: clamp(92px, 16vw, 150px);
  right: clamp(18px, 11vw, 180px);
}

.board-b {
  right: clamp(48px, 20vw, 330px);
  bottom: clamp(42px, 9vw, 105px);
}

.board-c {
  top: clamp(210px, 31vw, 340px);
  right: clamp(220px, 41vw, 680px);
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 800;
}

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

.metric-row {
  display: grid;
  grid-template-columns: 1fr 78px;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  color: #3d4652;
  font-size: 13px;
  border-top: 1px solid rgba(29, 36, 48, .09);
}

.metric-row b {
  height: 9px;
  border-radius: 999px;
  background: var(--blue);
}

.metric-row.warn b {
  background: var(--amber);
}

.metric-row.good b {
  background: var(--green);
}

.flow-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.flow-line i {
  min-height: 54px;
  border: 1px solid rgba(29, 36, 48, .12);
  border-radius: 7px;
  background: var(--blue-soft);
}

.flow-line i:nth-child(2) {
  background: var(--green-soft);
}

.flow-line i:nth-child(3) {
  background: var(--amber-soft);
}

.flow-line i:nth-child(4) {
  background: var(--red-soft);
}

.status-strip {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.status-strip span,
.bars i {
  display: block;
  border-radius: 999px;
  background: rgba(29, 36, 48, .14);
}

.status-strip span {
  height: 8px;
}

.bars {
  display: flex;
  align-items: end;
  gap: 10px;
  min-height: 112px;
}

.bars i {
  width: 100%;
  border-radius: 6px 6px 0 0;
}

.bars i:nth-child(1) { height: 44%; background: var(--blue); }
.bars i:nth-child(2) { height: 72%; background: var(--green); }
.bars i:nth-child(3) { height: 55%; background: var(--amber); }
.bars i:nth-child(4) { height: 86%; background: var(--red); }
.bars i:nth-child(5) { height: 63%; background: #303947; }

.intro-band {
  padding: clamp(28px, 5vw, 54px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: var(--paper-strong);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: clamp(24px, 5vw, 72px);
  max-width: 1180px;
  margin: 0 auto;
}

.intro-grid p {
  margin: 0;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.16;
  font-weight: 740;
}

.intro-grid ul {
  display: grid;
  gap: 12px;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 690;
}

.intro-grid li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(70px, 10vw, 118px) clamp(20px, 5vw, 42px);
}

.section-heading {
  max-width: 740px;
  margin-bottom: clamp(30px, 5vw, 48px);
}

.section-heading h2,
.contact-band h2 {
  margin: 0;
  font-size: clamp(34px, 5.8vw, 72px);
  line-height: .98;
  letter-spacing: 0;
}

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

.product-card,
.use-list article,
.process-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.product-card {
  min-height: 310px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 850;
}

.dashboard .product-kicker { background: var(--blue-soft); color: #174c7e; }
.flow .product-kicker { background: var(--green-soft); color: #195f48; }
.connect .product-kicker { background: var(--amber-soft); color: #874f15; }
.insights .product-kicker { background: var(--red-soft); color: #86332d; }

.product-card h3,
.use-list h3,
.process-grid h3 {
  margin: 24px 0 0;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.08;
  letter-spacing: 0;
}

.product-card p,
.use-list p,
.process-grid p,
.contact-band p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
  border-top: 1px solid var(--line);
}

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

.use-list article {
  padding: 22px;
}

.use-list h3 {
  margin-top: 0;
}

.process-section {
  border-top: 1px solid var(--line);
}

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

.process-grid article {
  min-height: 260px;
  padding: 24px;
}

.process-grid span {
  color: var(--green);
  font-weight: 850;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .7fr) auto;
  align-items: center;
  gap: clamp(22px, 4vw, 48px);
  margin: 0 clamp(20px, 5vw, 72px) clamp(24px, 4vw, 44px);
  padding: clamp(30px, 5vw, 54px);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.contact-band .eyebrow,
.contact-band p {
  color: rgba(255, 255, 255, .76);
}

.contact-band p {
  margin: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px) 38px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
}

@media (max-width: 1050px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    min-height: auto;
    padding-block: 18px;
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
    padding-bottom: 250px;
  }

  h1 {
    max-width: 8ch;
  }

  .ops-board {
    width: 220px;
  }

  .board-a {
    top: auto;
    right: 18px;
    bottom: 26px;
  }

  .board-b {
    right: auto;
    left: 20px;
    bottom: 90px;
  }

  .board-c,
  .signal-grid {
    display: none;
  }

  .intro-grid,
  .split-section,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .use-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

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

  .button {
    min-height: 52px;
  }

  .product-card {
    min-height: 240px;
  }

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