/* Open Account V2: Hero + Form Block */

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

.open-account-v2-hero__grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 1240px;
}

.open-account-v2-hero__heading {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #033438;
  margin: 0;
}

.open-account-v2-hero__heading-sub {
  display: block;
  margin-top: 12px;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #4C6769;
  font-weight: 400;
}

.open-account-v2-hero__bullets {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 33em;
}

.open-account-v2-hero__bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: #4C6769;
}

.open-account-v2-hero__bullets strong {
  display: block;
  font-weight: 500;
  color: #033438;
  font-size: 16px;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.open-account-v2-hero__tick {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: #074F55;
}

.open-account-v2-hero__trustpilot {
  margin-top: 26px;
}

/* ---- form card ---- */
.open-account-v2-hero__card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #DEE2E3;
  border-radius: 10px;
  overflow: hidden;
}

.open-account-v2-hero__card-head {
  padding: 22px 22px 0;
}

.open-account-v2-hero__form-heading {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #033438;
  margin: 0;
}

.open-account-v2-hero__form-subheading {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: #4C6769;
}

.open-account-v2-hero__form {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.open-account-v2-hero__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.open-account-v2-hero__row2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.open-account-v2-hero__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.open-account-v2-hero__field label {
  font-size: 14px;
  font-weight: 500;
  color: #033438;
}

.open-account-v2-hero__field input {
  font: inherit;
  font-size: 15px;
  color: #033438;
  padding: 12px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #DEE2E3;
  border-radius: 6px;
  background: #FFFFFF;
  transition: border-color 0.12s, box-shadow 0.12s;
}

.open-account-v2-hero__field input::placeholder {
  color: #9fb0b1;
}

.open-account-v2-hero__field input:hover {
  border-color: #c4cccd;
}

.open-account-v2-hero__field input:focus {
  outline: none;
  border-color: #074F55;
  box-shadow: 0 0 0 3px rgba(7, 79, 85, 0.12);
}

.open-account-v2-hero__field--bad input {
  border-color: #C2410C;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.1);
}

.open-account-v2-hero__err {
  font-size: 13px;
  color: #C2410C;
  display: none;
}

.open-account-v2-hero__field--bad .open-account-v2-hero__err {
  display: block;
}

/* ---- account type segmented toggle ---- */
.open-account-v2-hero__seg-wrap {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.open-account-v2-hero__seg-wrap legend {
  padding: 0;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #033438;
}

.open-account-v2-hero__seg {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #DEE2E3;
  border-radius: 6px;
  overflow: hidden;
  background: #FFFFFF;
}

.open-account-v2-hero__seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.open-account-v2-hero__seg label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  font-size: 15px;
  color: #033438;
  cursor: pointer;
  background: #FFFFFF;
  transition: background-color 0.14s, color 0.14s;
  border-left: 1px solid #DEE2E3;
}

.open-account-v2-hero__seg label:first-of-type {
  border-left: 0;
}

.open-account-v2-hero__seg label:hover {
  background: #F7F7F7;
}

.open-account-v2-hero__seg input:checked + label {
  background: #074F55;
  color: #FFFFFF;
  font-weight: 500;
}

.open-account-v2-hero__seg input:checked + label:hover {
  background: #074F55;
}

.open-account-v2-hero__seg input:focus-visible + label {
  outline: 2px solid #074F55;
  outline-offset: -3px;
}

/* ---- submit button ---- */
.open-account-v2-hero__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  font-family: "Source Code Pro", monospace;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: normal;
  border: 0;
  border-radius: 4px;
  padding: 15px 20px;
  background: #FF5900;
  color: #FFFFFF;
  cursor: pointer;
  transition: background-color 0.14s;
}

.open-account-v2-hero__submit:hover {
  background: #E64F00;
}

@keyframes oav2h-spin {
  to { transform: rotate(360deg); }
}

.open-account-v2-hero__next-up {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #E3FBFD;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #074F55;
}

.open-account-v2-hero__next-up svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.open-account-v2-hero__legal {
  font-size: 12.5px;
  line-height: 1.5;
  color: #4C6769;
  margin: 0;
}

.open-account-v2-hero__legal a {
  color: inherit;
}

.open-account-v2-hero__recaptcha-error {
  color: #dc2626;
  font-size: 14px;
  margin-top: 8px;
}

/* ---- "taking you to Alt21" panel ---- */
.open-account-v2-hero__sent {
  padding: 48px 24px;
  text-align: center;
  display: none;
}

.open-account-v2-hero__sent.show {
  display: block;
}

.open-account-v2-hero__sent-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #D0F8FB;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}

.open-account-v2-hero__sent-ring svg {
  width: 23px;
  height: 23px;
  color: #074F55;
}

.open-account-v2-hero__sent h3 {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #033438;
  margin: 0;
}

.open-account-v2-hero__sent p {
  margin-top: 10px;
  font-size: 15px;
  color: #4C6769;
}

/* ---- "what you'll need" full-width strip ---- */
.open-account-v2-hero__need {
  max-width: 1240px;
  margin: 40px auto 0;
  background: #F7F7F7;
  border-radius: 10px;
  padding: 24px 24px;
  box-sizing: border-box;
}

.open-account-v2-hero__need h4 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #033438;
  text-align: center;
  margin: 0 0 20px;
}

.open-account-v2-hero__need ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.open-account-v2-hero__need li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: #2b565a;
}

.open-account-v2-hero__need li svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: #074F55;
  margin-top: 2px;
}

/* md: 768px */
@media (min-width: 768px) {
  .open-account-v2-hero {
    padding: 4rem 0;
  }

  .open-account-v2-hero__heading {
    font-size: 48px;
  }

  .open-account-v2-hero__heading-sub {
    font-size: 24px;
  }

  .open-account-v2-hero__row2 {
    grid-template-columns: 1fr 1fr;
  }

  .open-account-v2-hero__need ul {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 32px;
  }
}

/* lg: 1024px */
@media (min-width: 1024px) {
  .open-account-v2-hero {
    padding: 5rem 0;
  }

  .open-account-v2-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 56px;
    align-items: start;
  }

  .open-account-v2-hero__heading {
    font-size: 60px;
  }

  .open-account-v2-hero__form-col {
    position: sticky;
    top: 24px;
  }
}
