/* v2 components: steps, highlight-bar, chips, compare-table, quote v2, image-text v2 (job 3) */

/* ---------- Steps ---------- */
.nb-steps {
  counter-reset: nb-step;
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  text-align: left;
}

.nb-step {
  counter-increment: nb-step;
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.nb-step__lead {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.nb-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  border-radius: 10px;
  background: var(--nb-p150);
  color: var(--nb-p700);
  font-family: var(--nb-ff-display);
  font-size: 39px;
  font-weight: 800;
  line-height: 1;
}

.nb-step__num::before {
  content: counter(nb-step);
}

.nb-step__num--custom::before {
  content: none;
}

.nb-step__icon-wrap {
  display: flex;
  width: 56px;
  height: 56px;
  color: var(--nb-p500);
}

.nb-step__icon {
  width: 56px;
  height: 56px;
}

.nb-step__body {
  flex: 1 1 0;
  min-width: 0;
}

.nb-step__title {
  margin: 0 0 8px;
  color: var(--nb-n600);
  font-family: var(--nb-ff-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.nb-step__text {
  margin: 0;
  color: var(--nb-n600);
  font-family: var(--nb-ff-text);
  font-size: 18px;
  line-height: 26px;
}

.nb-section--dark .nb-step__icon-wrap {
  color: var(--nb-p150);
}

.nb-section--dark .nb-step__title {
  color: #fff;
}

.nb-section--dark .nb-step__text {
  color: var(--nb-p100);
}

@media (max-width: 1023px) {
  .nb-steps {
    gap: 40px;
  }

  .nb-step__title {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .nb-step {
    flex-direction: column;
    gap: 16px;
  }

  .nb-step__num {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 32px;
  }

  .nb-step__icon-wrap,
  .nb-step__icon {
    width: 48px;
    height: 48px;
  }

  .nb-step__title {
    font-size: 22px;
  }

  .nb-step__text {
    font-size: 16px;
    line-height: 24px;
  }
}

/* ---------- Highlight bar ---------- */
.nb-highlight {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  text-align: left;
}

.nb-highlight--lightblue {
  background: var(--nb-p0);
}

.nb-highlight__icon-wrap {
  display: flex;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  color: var(--nb-p500);
}

.nb-highlight__icon {
  width: 64px;
  height: 64px;
}

.nb-highlight__body {
  flex: 1 1 0;
  align-self: center;
  min-width: 0;
}

.nb-highlight__title {
  margin: 0 0 8px;
  color: var(--nb-p700);
  font-family: var(--nb-ff-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 32px;
}

.nb-highlight__text {
  margin: 0;
  color: var(--nb-n600);
  font-family: var(--nb-ff-text);
  font-size: 18px;
  line-height: 26px;
}

@media (max-width: 767px) {
  .nb-highlight {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }

  .nb-highlight__icon-wrap,
  .nb-highlight__icon {
    width: 48px;
    height: 48px;
  }

  .nb-highlight__title {
    font-size: 22px;
    line-height: 28px;
  }

  .nb-highlight__text {
    font-size: 16px;
    line-height: 24px;
  }
}

/* ---------- Chips ---------- */
.nb-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nb-chip {
  margin: 0;
  padding: 24px 32px;
  border: 4px solid var(--nb-n150, #bcc7d2);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--nb-shadow-5);
  color: var(--nb-n600);
  font-family: var(--nb-ff-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

@media (max-width: 1023px) {
  .nb-chips {
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .nb-chips {
    gap: 16px;
  }

  .nb-chip {
    padding: 14px 20px;
    border-width: 3px;
    font-size: 18px;
  }
}

/* ---------- Compare table ---------- */
.nb-compare {
  --nb-compare-head: #044093;
  --nb-compare-intent: #b0efe9;
  width: 100%;
  text-align: left;
}

.nb-compare__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nb-compare__table {
  width: 100%;
  min-width: 860px;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--nb-ff-text);
  table-layout: fixed;
}

.nb-compare__table th,
.nb-compare__table td {
  padding: 8px 16px;
  color: var(--nb-n700);
  vertical-align: middle;
  text-align: left;
}

.nb-compare__table thead th {
  height: 53px;
  background: var(--nb-compare-head);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
}

.nb-compare__table thead th:first-child {
  background: var(--nb-teal-200);
  border-radius: 16px 16px 0 0;
}

.nb-compare__table thead th:nth-child(2) {
  border-top-left-radius: 16px;
  border-left: 4px solid #fff;
}

.nb-compare__table thead th:last-child {
  border-top-right-radius: 16px;
}

.nb-compare__table thead th:not(:first-child):not(:nth-child(2)) {
  border-left: 1px solid var(--nb-p500);
}

.nb-compare__table tbody th,
.nb-compare__intent {
  height: 120px;
  background: var(--nb-compare-intent);
  border-bottom: 1px solid var(--nb-teal-200);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.nb-compare__agent {
  background: var(--nb-p0);
  border-bottom: 1px solid var(--nb-p150);
  border-left: 4px solid #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
}

.nb-compare__icon {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  color: var(--nb-p500);
}

.nb-compare__cell {
  border-right: 1px solid var(--nb-n100);
  border-bottom: 1px solid var(--nb-n100);
  font-size: 14px;
  line-height: 20px;
}

.nb-compare__cell--1 {
  font-size: 16px;
  line-height: 24px;
}

.nb-compare__cell--3 {
  background: #fff;
}

.nb-compare__table tbody tr:last-child .nb-compare__intent {
  border-bottom: 0;
  border-radius: 0 0 16px 16px;
}

.nb-compare__table tbody tr:last-child .nb-compare__agent {
  border-bottom: 0;
  border-bottom-left-radius: 16px;
}

.nb-compare__table tbody tr:last-child .nb-compare__cell {
  border-bottom: 1px solid var(--nb-n100);
}

.nb-compare__table tbody tr:last-child .nb-compare__cell:last-child {
  border-bottom-right-radius: 16px;
}

@media (max-width: 1023px) {
  .nb-compare__table {
    min-width: 760px;
  }
}

@media (max-width: 767px) {
  .nb-compare__scroll {
    margin-right: calc(var(--shell-gutter, 24px) * -1);
    padding-right: var(--shell-gutter, 24px);
  }

  .nb-compare__table {
    min-width: 720px;
  }

  .nb-compare__table thead th {
    font-size: 16px;
  }
}

/* ---------- Quote v2 ---------- */
.nb-quote {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
}

.nb-quote--image-right {
  flex-direction: row;
}

.nb-quote__photo {
  flex: 0 0 149px;
  width: 149px;
  height: 149px;
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: var(--nb-shadow-5);
  overflow: hidden;
}

.nb-quote__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nb-quote__body {
  flex: 1 1 0;
  min-width: 0;
}

.nb-quote__text {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  color: var(--nb-teal-250);
  font-family: var(--nb-ff-display);
  font-size: 20px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.2;
  quotes: none;
}

.nb-quote__cite {
  display: flex;
  flex-direction: column;
  color: var(--nb-n600);
  font-family: var(--nb-ff-display);
  font-style: normal;
  line-height: 28px;
}

.nb-quote__author {
  font-size: 20px;
  font-weight: 600;
}

.nb-quote__role {
  font-size: 16px;
  font-weight: 400;
}

@media (max-width: 767px) {
  .nb-quote {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nb-quote__photo {
    flex-basis: auto;
    width: 120px;
    height: 120px;
  }
}

/* ---------- Image + text v2 ---------- */
.nb-media-text {
  width: 100%;
  text-align: left;
}

.nb-media-text__grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.nb-media-text__text {
  flex: 0 1 556px;
  min-width: 0;
}

.nb-media-text__title {
  margin: 0 0 8px;
  color: var(--nb-n600);
  font-family: var(--nb-ff-display);
  font-size: 48px;
  font-weight: 800;
  line-height: 53px;
}

.nb-media-text__intro {
  margin: 0 0 16px;
  color: var(--nb-n700);
  font-family: var(--nb-ff-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.nb-media-text__body {
  color: var(--nb-n600);
  font-family: var(--nb-ff-text);
  font-size: 18px;
  line-height: 26px;
}

.nb-media-text__body p {
  margin: 0 0 26px;
}

.nb-media-text__body p:last-child {
  margin-bottom: 0;
}

.nb-media-text__visual {
  position: relative;
  display: flex;
  flex: 0 0 464px;
  align-items: center;
  justify-content: center;
  width: 464px;
  max-width: 100%;
}

.nb-media-text__glow {
  position: absolute;
  top: 12%;
  right: 0;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--nb-p50) 0%, rgba(206, 227, 255, 0) 70%);
  pointer-events: none;
}

.nb-media-text__img {
  position: relative;
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--nb-shadow-5);
}

.nb-media-text--tilt .nb-media-text__img {
  transform: rotate(10deg);
}

.nb-media-text__buttons {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.nb-media-text--paper .nb-media-text__grid {
  margin-bottom: 32px;
}

.nb-media-text--paper .nb-media-text__buttons {
  margin-top: 0;
}

.nb-media-text--band .nb-media-text__buttons {
  justify-content: flex-start;
}

.nb-media-text--band .nb-media-text__text {
  flex-basis: 580px;
}

.nb-media-text--band .nb-media-text__grid {
  align-items: center;
}

.nb-media-text--band .nb-media-text__body {
  font-family: var(--nb-ff-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.nb-media-text--band .nb-media-text__glow {
  top: 22%;
  background: radial-gradient(circle, rgba(20, 109, 235, 0.35) 0%, rgba(20, 109, 235, 0) 70%);
}

.nb-media-text--band .nb-media-text__img {
  width: 260px;
  box-shadow: -8px 4px 28px var(--nb-p500);
}

.nb-section--dark .nb-media-text__title,
.nb-section--dark .nb-media-text__body,
.nb-section--dark .nb-media-text__intro {
  color: #fff;
}

.nb-media-text--image-left .nb-media-text__grid {
  flex-direction: row;
}

@media (max-width: 1023px) {
  .nb-media-text__grid {
    gap: 32px;
  }

  .nb-media-text__visual {
    flex-basis: 320px;
    width: 320px;
  }

  .nb-media-text__title {
    font-size: 36px;
    line-height: 1.15;
  }
}

@media (max-width: 767px) {
  .nb-media-text__grid {
    flex-direction: column;
    align-items: stretch;
  }

  .nb-media-text__text {
    flex-basis: auto;
  }

  .nb-media-text__visual {
    flex-basis: auto;
    width: 100%;
    padding: 24px 0;
  }

  .nb-media-text__title {
    font-size: 32px;
  }

  .nb-media-text__intro {
    font-size: 20px;
    line-height: 28px;
  }

  .nb-media-text__body {
    font-size: 16px;
    line-height: 24px;
  }

  .nb-media-text--band .nb-media-text__body {
    font-size: 18px;
  }

  .nb-media-text--image-left .nb-media-text__grid {
    flex-direction: column;
  }
}
