/* Open Account V2: How It Works Block */

.open-account-v2-how-it-works {
  background-color: #FFFFFF;
  padding: 3rem 0;
}

.open-account-v2-how-it-works__eyebrow {
  font-family: "Source Code Pro", monospace;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  color: #4C6769;
  margin: 0;
}

.open-account-v2-how-it-works__heading {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #033438;
  margin: 14px 0 0;
}

.open-account-v2-how-it-works__steps {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.open-account-v2-how-it-works__step {
  background: #F7F7F7;
  border-radius: 10px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.open-account-v2-how-it-works__step-time {
  font-family: "Source Code Pro", monospace;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  color: #4C6769;
  margin: 0;
}

.open-account-v2-how-it-works__step-heading {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #033438;
  margin: 0;
}

.open-account-v2-how-it-works__step-num {
  color: #074F55;
  margin-right: 6px;
}

.open-account-v2-how-it-works__step-description {
  font-size: 15px;
  line-height: 1.55;
  color: #4C6769;
  margin: 0;
}

.open-account-v2-how-it-works__heads-up {
  margin: 24px 0 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.55;
  color: #2b565a;
}

.open-account-v2-how-it-works__heads-up svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: #074F55;
  margin-top: 1px;
}

.open-account-v2-how-it-works__quotes {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.open-account-v2-how-it-works__quote {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  padding: 26px 24px;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #FFFFFF;
  isolation: isolate;
  background-color: #14464D;
  background-size: cover;
  background-position: center;
}

.open-account-v2-how-it-works__quote::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 18% 12%, #2c5f66 0%, rgba(44, 95, 102, 0) 60%),
    radial-gradient(100% 80% at 88% 8%, #3d7b7a 0%, rgba(61, 123, 122, 0) 55%),
    linear-gradient(160deg, #14464d 0%, #0b3036 100%);
}

.open-account-v2-how-it-works__quote::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(10, 26, 28, 0.25) 0%, rgba(10, 26, 28, 0.55) 55%, rgba(10, 26, 28, 0.75) 100%);
  transition: opacity 0.15s;
}

.open-account-v2-how-it-works__quote:hover::after {
  opacity: 0.82;
}

.open-account-v2-how-it-works__quote-co {
  font-family: "Source Code Pro", monospace;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  color: #D0F8FB;
}

.open-account-v2-how-it-works__quote blockquote {
  margin: 0;
  flex: 1 1 auto;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  font-weight: 300;
}

.open-account-v2-how-it-works__quote cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  line-height: 1.4;
  color: #C1EBEE;
}

.open-account-v2-how-it-works__quote cite strong {
  display: block;
  color: #FFFFFF;
  font-weight: 500;
  font-size: 14px;
}

.open-account-v2-how-it-works__quote-more {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: "Source Code Pro", monospace;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  color: #D0F8FB;
}

.open-account-v2-how-it-works__quote-more svg {
  width: 13px;
  height: 13px;
  transition: transform 0.15s;
}

.open-account-v2-how-it-works__quote:hover .open-account-v2-how-it-works__quote-more svg {
  transform: translateX(3px);
}

/* md: 768px */
@media (min-width: 768px) {
  .open-account-v2-how-it-works__heading {
    font-size: 40px;
  }

  .open-account-v2-how-it-works__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .open-account-v2-how-it-works__quotes {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* lg: 1024px */
@media (min-width: 1024px) {
  .open-account-v2-how-it-works__heading {
    font-size: 48px;
  }

  .open-account-v2-how-it-works__steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
