/* Use the page's existing container and type scale for this section. */
.how-section {
  --how-icon-size: 40px;
  --how-card-pad: 24px;
  --how-card-radius: 16px;
  --how-card-title-size: 18px;
  --how-card-body-size: 16px;
  padding: 112px 0;
  border-block: 0;
  background: transparent;
}

.how-section .how-lead {
  max-width: none;
  margin-top: 16px;
  font-size: 20px;
  line-height: 1.42;
}

.how-section .how-flow {
  display: grid;
  grid-template-columns: 1fr 5.75% 1fr 5.75% 1fr;
  align-items: stretch;
  margin-top: 42px;
}

.how-section .how-node {
  min-width: 0;
  min-height: 186px;
  padding: var(--how-card-pad);
  border: 1px solid #e5e7e0;
  border-radius: var(--how-card-radius);
  background: #fff;
}

.how-section .how-node--connect {
  border-color: var(--green-line);
  background: var(--green);
}

.how-section .how-node-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: var(--how-icon-size);
  height: var(--how-icon-size);
  border: 1px solid #e6e8e2;
  border-radius: 11px;
  background: #f4f5f0;
  color: #34382f;
}

.how-section .how-node-icon .icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
}

.how-section .how-node--connect .how-node-icon {
  border-color: #b8c1b2;
  background: #fff;
}

.how-section .how-node-icons {
  display: flex;
  gap: 8px;
}

.how-section .how-node h3 {
  margin-top: 20px;
  font-size: var(--how-card-title-size);
  line-height: 1.4;
  letter-spacing: -.02em;
}

.how-section .how-node p {
  margin-top: 6px;
  color: var(--muted);
  font-size: var(--how-card-body-size);
  line-height: 1.5;
}

.how-section .how-node--connect p {
  color: #535b4f;
}

.how-section .how-connector {
  align-self: center;
  position: relative;
  height: 1.5px;
  margin-inline: 4px;
  background: #d9dcd3;
}

.how-section .how-connector::before,
.how-section .how-connector::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a3a99d;
  transform: translateY(-50%);
}

.how-section .how-connector::before { left: -1px; }
.how-section .how-connector::after { right: -1px; }

.how-section .how-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4.25%;
  margin-top: 32px;
}

.how-section .how-note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}

.how-section .how-note .how-node-icon { background: #fff; }

.how-section .how-note h3 {
  margin-top: 2px;
  font-size: var(--how-card-title-size);
  line-height: 1.4;
  letter-spacing: -.02em;
}

.how-section .how-note p {
  margin-top: 6px;
  font-size: var(--how-card-body-size);
  line-height: 1.5;
  color: var(--muted);
}

@media (min-width: 1441px) {
  .how-section { --how-card-title-size: 20px; --how-card-body-size: 18px; }
}

@media (max-width: 1199px) {
  .how-section { --how-card-title-size: 16px; --how-card-body-size: 15px; }
}

@media (max-width: 850px) {
  .how-section { --how-card-title-size: 18px; --how-card-body-size: 16px; padding: 80px 0; }
  .how-section .how-lead { font-size: 18px; }
  .how-section .how-flow {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 32px;
  }
  .how-section .how-node { min-height: 0; padding: 24px; }
  .how-section .how-node h3 { margin-top: 24px; }
  .how-section .how-connector {
    justify-self: center;
    width: 1.5px;
    height: 32px;
    margin: 4px 0;
  }
  .how-section .how-connector::before,
  .how-section .how-connector::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  .how-section .how-connector::before { top: -1px; }
  .how-section .how-connector::after { top: auto; bottom: -1px; }
  .how-section .how-notes { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 600px) {
  .how-section { --how-card-title-size: 17px; --how-card-body-size: 15px; padding: 64px 0; }
}
