:root {
  --how-blue: #1769e0;
  --how-blue-dark: #0d4fb5;
  --how-text: #172033;
  --how-muted: #667085;
  --how-border: #e7ecf3;
  --how-white: #ffffff;
  --how-soft: #f5f8ff;
}

.how-section {
  position: relative;
  overflow: hidden;

  padding: 105px 0;

  background: #f7f9fc;
}

.how-container {
  width: min(1180px, calc(100% - 40px));

  margin: 0 auto;
}

.how-heading {
  max-width: 650px;

  margin: 0 auto;

  text-align: center;
}

.how-eyebrow {
  display: inline-block;

  margin-bottom: 14px;

  color: var(--how-blue);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 1.4px;
}

.how-heading h2 {
  margin: 0;

  color: var(--how-text);

  font-size: clamp(38px, 4.5vw, 54px);
  line-height: 1.08;

  letter-spacing: -2px;

  font-weight: 800;
}

.how-heading h2 span {
  color: var(--how-blue);
}

.how-heading p {
  max-width: 560px;

  margin: 20px auto 0;

  color: var(--how-muted);

  font-size: 16px;
  line-height: 1.7;
}


/* ==================== STEPS ==================== */

.how-steps {
  display: grid;

  grid-template-columns:
    1fr
    42px
    1fr
    42px
    1fr
    42px
    1fr;

  align-items: center;

  margin-top: 65px;
}

.how-step {
  position: relative;

  min-height: 285px;

  padding: 32px 25px;

  border: 1px solid var(--how-border);
  border-radius: 20px;

  background: var(--how-white);

  box-shadow:
    0 12px 35px rgba(23, 32, 51, 0.055);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.how-step:hover {
  transform: translateY(-6px);

  border-color: rgba(23, 105, 224, 0.35);

  box-shadow:
    0 20px 45px rgba(23, 105, 224, 0.10);
}

.step-number {
  position: absolute;

  top: 20px;
  right: 22px;

  color: #b9c4d5;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.8px;
}

.step-icon {
  width: 54px;
  height: 54px;

  display: grid;
  place-items: center;

  margin-bottom: 27px;

  border-radius: 15px;

  background: var(--how-soft);

  color: var(--how-blue);

  font-size: 23px;
  font-weight: 700;
}

.how-step h3 {
  margin: 0;

  color: var(--how-text);

  font-size: 19px;
  font-weight: 800;
}

.how-step p {
  margin: 11px 0 0;

  color: var(--how-muted);

  font-size: 13px;
  line-height: 1.7;
}

.step-connector {
  position: relative;

  height: 2px;

  background: var(--how-border);
}

.step-connector::after {
  content: "›";

  position: absolute;

  right: -4px;
  top: 50%;

  transform: translateY(-54%);

  color: var(--how-blue);

  font-size: 22px;
  font-weight: 700;

  background: #f7f9fc;

  padding-left: 3px;
}


/* ==================== OWNER CTA ==================== */

.owner-process {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 35px;

  margin-top: 70px;

  padding: 32px 36px;

  border: 1px solid rgba(23, 105, 224, 0.12);
  border-radius: 20px;

  background:
    linear-gradient(
      135deg,
      #ffffff,
      #f3f7ff
    );
}

.owner-process-content {
  max-width: 680px;
}

.owner-eyebrow {
  display: block;

  margin-bottom: 7px;

  color: var(--how-blue);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 1.3px;
}

.owner-process h3 {
  margin: 0;

  color: var(--how-text);

  font-size: 22px;
  font-weight: 800;
}

.owner-process p {
  margin: 8px 0 0;

  color: var(--how-muted);

  font-size: 13px;
  line-height: 1.6;
}

.owner-process-button {
  min-height: 46px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  padding: 0 20px;

  flex-shrink: 0;

  border-radius: 10px;

  background: var(--how-blue);

  color: var(--how-white);

  text-decoration: none;

  font-size: 13px;
  font-weight: 700;

  box-shadow:
    0 8px 20px rgba(23, 105, 224, 0.18);

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.owner-process-button:hover {
  background: var(--how-blue-dark);

  transform: translateY(-2px);

  box-shadow:
    0 12px 25px rgba(23, 105, 224, 0.25);
}

.owner-process-button span {
  font-size: 17px;
}


/* ==================== TABLET ==================== */

@media (max-width: 1050px) {

  .how-steps {
    grid-template-columns: 1fr 1fr;

    gap: 20px;
  }

  .step-connector {
    display: none;
  }

  .how-step {
    min-height: 260px;
  }
}


/* ==================== MOBILE ==================== */

@media (max-width: 600px) {

  .how-section {
    padding: 65px 0;
  }

  .how-container {
    width: calc(100% - 28px);
  }

  .how-heading h2 {
    font-size: 36px;

    letter-spacing: -1.4px;
  }

  .how-heading p {
    font-size: 14px;
  }

  .how-steps {
    grid-template-columns: 1fr;

    margin-top: 42px;

    gap: 16px;
  }

  .how-step {
    min-height: auto;

    padding: 27px 23px;
  }

  .step-icon {
    margin-bottom: 21px;
  }

  .owner-process {
    flex-direction: column;
    align-items: flex-start;

    gap: 22px;

    margin-top: 45px;

    padding: 27px 23px;
  }

  .owner-process-button {
    width: 100%;
  }
}
