.fit-list {
  display: grid;
  align-self: start;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.9rem;
}

.fit-list article {
  display: grid;
  min-height: 10.25rem;
  grid-column: span 5;
  align-content: space-between;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  padding: 1.35rem;
}

.fit-list article:nth-child(2),
.fit-list article:nth-child(3) {
  grid-column: span 7;
}

.fit-list article:first-child {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0.65rem 0.65rem 0 rgb(6 70 199 / 0.13);
}

.fit-list article:nth-child(3) {
  border-color: #b9c9ff;
  background: var(--blue-soft);
}

.fit-list strong {
  color: var(--blue);
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(3rem, 4vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.fit-list span {
  max-width: 15rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.35;
}

.fit-list article:first-child strong,
.fit-list article:first-child span {
  color: var(--white);
}

.workflow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 5.5rem 0 0;
  padding: 0;
  list-style: none;
}

.workflow-steps::before {
  position: absolute;
  display: none;
  background: #9eb8ff;
  content: "";
}

.workflow-steps li {
  position: relative;
  min-height: 17rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  margin-top: 2.75rem;
  background: var(--white);
  padding: 3rem 1.35rem 1.5rem;
}

.workflow-steps li:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: -1rem;
  left: 2.9rem;
  width: calc(100% + 1rem);
  height: 2px;
  background: #9eb8ff;
  content: "";
}

.workflow-steps li:nth-child(3) {
  border-color: #b9c9ff;
  background: var(--blue-soft);
}

.workflow-steps li:last-child {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0.65rem 0.65rem 0 rgb(6 70 199 / 0.13);
  color: var(--white);
}

.step-number {
  position: absolute;
  z-index: 1;
  top: -2.75rem;
  left: 1.15rem;
  display: inline-grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border: 0.4rem solid #f3f0ef;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
}

.workflow-steps li:last-child .step-number {
  background: var(--white);
  color: var(--blue);
}

.workflow-steps h3 {
  margin: 1.1rem 0 0;
  font-size: 1.35rem;
  line-height: 1.15;
}

.workflow-steps p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.workflow-steps li:last-child p {
  color: rgb(255 255 255 / 0.78);
}

.fit-boundary-summary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(13rem, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  border: 1px solid var(--line);
  background: #ebe7e5;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.fit-boundary-summary h3 {
  margin: 0.65rem 0 0;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.fit-boundary-summary > p {
  max-width: 55rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (max-width: 64rem) {
  .workflow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1rem;
    margin-top: 4rem;
  }

  .workflow-steps::before {
    display: none;
  }

  .workflow-steps li {
    min-height: 15rem;
    margin-top: 1.75rem;
  }

  .workflow-steps li::after {
    display: none;
  }

  .step-number {
    top: -1.75rem;
  }
}

@media (max-width: 48rem) {
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .workflow-steps {
    gap: 0.8rem;
    margin-top: 3rem;
  }

  .workflow-steps::before {
    top: 2.5rem;
    bottom: 2.5rem;
    left: 1.75rem;
    display: block;
    width: 2px;
    height: auto;
  }

  .workflow-steps li {
    min-height: 0;
    margin-top: 0;
    padding: 1.25rem 1.25rem 1.25rem 5rem;
  }

  .step-number {
    top: 1rem;
    left: 0.25rem;
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
  }

  .workflow-steps h3 {
    margin-top: 0;
  }
  .fit-boundary-summary {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 32rem) {
  .fit-list {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .fit-list article,
  .fit-list article:nth-child(2),
  .fit-list article:nth-child(3) {
    min-height: 6.75rem;
    grid-column: auto;
    grid-template-columns: minmax(4.5rem, auto) 1fr;
    align-content: center;
    align-items: center;
    gap: 1rem;
  }

  .fit-list strong {
    font-size: 2.8rem;
  }
}
