/* Banners: the home hero with the sign-in card, the inner-page banner, breadcrumb, call-to-action band, banker panel, app promo with its phone. */

/* ---- hero on a photo (the kit's .nv-photo-hero puts the picture under the brand gradient) */
.nv-sec.nv-hero { padding: clamp(32px, 16px + 4vw, 72px) 0 clamp(40px, 20px + 4vw, 80px); }
.nv-hero .nv-container { position: relative; }
.nv-hero__in { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 4vw, 64px); }
.nv-hero__main { flex: 1 1 460px; min-width: 0; }
.nv-hero__badge {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; margin-bottom: 18px; padding: 0 14px; border-radius: var(--nv-r-pill); background: var(--nv-glass);
  color: var(--nv-on-hero); font-size: 14px; font-weight: 500; text-decoration: none;
}
.nv-hero__badge { position: relative; }
@media (max-width: 899px), (pointer: coarse) { .nv-hero__badge { min-height: 44px; } }
.nv-hero__badge:hover { color: var(--nv-on-hero); background: rgba(255, 255, 255, .22); }
.nv-hero__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--nv-cyan); }
.nv-hero__title { max-width: 20ch; font-size: var(--nv-fs-display); font-weight: 600; letter-spacing: -.035em; line-height: 1.06; color: var(--nv-on-hero); text-wrap: balance; }
.nv-hero__body { margin-top: 16px; max-width: 46ch; font-size: var(--nv-fs-lead); line-height: 1.55; color: var(--nv-on-hero-2); }
.nv-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.nv-hero__stats, .nv-phero__stats { display: flex; flex-wrap: wrap; gap: 16px clamp(20px, 3.4vw, 40px); margin: clamp(24px, 3vw, 36px) 0 0; padding: 0; list-style: none; }
.nv-hero__stats li, .nv-phero__stats li { display: flex; flex-direction: column; gap: 2px; }
.nv-hero__figure { font-size: clamp(18px, 16px + .35vw, 21px); font-weight: 600; letter-spacing: -.02em; color: var(--nv-on-hero); }
.nv-hero__figure-label { font-size: 13.5px; color: rgba(255, 255, 255, .7); }

/* the sign-in card slot: a plain card until the sign-in form replaces it */
.nv-hero__card { flex: 1 1 340px; max-width: 400px; min-width: 0; margin: 0 auto; min-height: 280px; padding: 28px 26px 24px; border-radius: var(--nv-r-hero); background: var(--nv-surface); color: var(--nv-text); box-shadow: var(--nv-shadow-signin); }
.nv-hero__card.is-live { min-height: 0; padding: 0; background: none; box-shadow: none; }
.nv-hero__card-title { margin-bottom: 4px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.nv-hero__card-sub { margin-bottom: 22px; font-size: 15px; color: var(--nv-text-3); }
.nv-hero__card .nv-auth--compact { margin: 0; padding: 28px 26px 24px; }   /* the design keeps this padding on a phone too */
.nv-hero__card .nv-auth--compact .nv-auth__title { font-size: 19.5px; }   /* the sign-in card in the hero follows the smaller headings of the site; the app's own sign-in page keeps the auth module's size */
.nv-hero__card .nv-auth__linkbtn--center { display: none; }
@media (max-width: 899px), (pointer: coarse) { .nv-hero__card .nv-auth__linkbtn { min-width: 44px; justify-content: center; } }   /* "Enroll" is a 44px target on touch (R13) */   /* the design's card has no e-mail link line; the app's own sign-in page offers it */

/* ---- inner-page banner */
.nv-sec.nv-phero { padding: 0; }
.nv-phero .nv-container { position: relative; }
.nv-phero__in { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding-block: clamp(28px, 16px + 3vw, 56px); }
.nv-phero__main { flex: 1 1 460px; min-width: 0; }
.nv-crumbs { margin-bottom: 14px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.nv-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
.nv-crumbs li + li::before { content: "/"; margin-right: 8px; }
.nv-crumbs a { display: inline-flex; align-items: center; min-height: 24px; color: inherit; text-decoration: underline; }
.nv-crumbs a:hover { color: var(--nv-on-hero); }
@media (max-width: 899px), (pointer: coarse) { .nv-crumbs a { position: relative; } .nv-crumbs a::before { content: ""; position: absolute; inset: -10px -6px; } }   /* 24px to look at, 44px to touch (R13) */
.nv-crumbs [aria-current] { font-weight: 600; }
.nv-phero__kicker { display: block; font-size: 13px; font-weight: 700; color: color-mix(in srgb, var(--nv-cyan) 65%, var(--nv-on-hero)); }
.nv-phero__title { max-width: 22ch; margin: 10px 0 12px; font-size: var(--nv-fs-h1); line-height: 1.12; letter-spacing: -.025em; color: var(--nv-on-hero); text-wrap: pretty; }
.nv-phero__body { max-width: 56ch; margin: 0 0 20px; font-size: var(--nv-fs-lead); line-height: 1.6; color: var(--nv-on-hero-2); }
.nv-phero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.nv-phero__stats { margin: 0; gap: 14px 26px; }
.nv-phero__figure { font-size: 18px; font-weight: 600; color: var(--nv-on-hero); }
.nv-phero__figure-label { font-size: 13px; color: rgba(255, 255, 255, .7); }
.nv-phero__card { flex: 1 1 300px; width: 100%; max-width: 380px; min-width: 0; margin-inline: auto; padding: 22px; border-radius: 22px; background: var(--nv-surface); color: var(--nv-text); }
.nv-phero__card-label { font-size: 13px; font-weight: 700; color: var(--nv-primary); }
.nv-phero__card-value { margin: 6px 0 6px; font-size: var(--nv-fs-figure); font-weight: 600; letter-spacing: -.025em; line-height: 1.02; color: var(--nv-primary-hover); }
.nv-phero__card-sub { margin-bottom: 16px; font-size: 14px; line-height: 1.55; color: var(--nv-text-2); }
.nv-phero__card-rows { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.nv-phero__card-rows li { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--nv-primary-tint); font-size: 14px; color: var(--nv-text-2); }
.nv-phero__card-rows li > span:last-child { font-weight: 600; color: var(--nv-primary-hover); }

/* ---- call-to-action band */
.nv-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; padding: clamp(22px, 3vw, 36px); border-radius: 22px; background: var(--nv-primary); color: var(--nv-on-primary); }
.nv-cta__text { flex: 1 1 400px; min-width: 0; }
.nv-cta__title { max-width: 26ch; margin-bottom: 8px; font-size: var(--nv-fs-h2); line-height: 1.15; letter-spacing: -.02em; color: inherit; }
.nv-cta__body { max-width: 56ch; font-size: var(--nv-fs-body); line-height: 1.6; opacity: .88; }
.nv-cta__actions { display: flex; flex-wrap: wrap; gap: 11px; }
.nv-cta--dark { background: rgb(var(--nv-ink-rgb)); color: var(--nv-on-hero); }
.nv-cta--light { background: var(--nv-surface); color: var(--nv-text); }
.nv-cta--light .nv-cta__body { color: var(--nv-text-2); opacity: 1; }
.nv-cta .nv-btn--light { color: var(--nv-hero-deep); }

/* ---- "talk to a banker" */
.nv-banker { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(24px, 3vw, 40px); padding: clamp(24px, 4vw, 48px); border-radius: var(--nv-r-panel); background: var(--nv-surface); }
.nv-banker__text { flex: 1 1 380px; min-width: 0; }
.nv-banker__title { font-size: var(--nv-fs-h2); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; text-wrap: balance; }
.nv-banker__body { max-width: 52ch; margin-top: 8px; font-size: var(--nv-fs-lead); line-height: 1.55; color: var(--nv-text-2); }
.nv-banker__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.nv-banker__photo { flex: 1 1 320px; min-width: 0; height: clamp(200px, 22vw, 260px); border-radius: var(--nv-r-card); overflow: hidden; background: var(--nv-surface-alt); }
.nv-banker__photo:empty { display: none; }
.nv-banker__img { width: 100%; height: 100%; object-fit: cover; }

/* ---- app promo (dark panel + drawn phone) */
.nv-pocket {
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(24px, 3vw, 40px); padding: clamp(24px, 4vw, 48px); border-radius: var(--nv-r-panel); overflow: hidden;
  background: rgb(var(--nv-ink-rgb)); color: var(--nv-on-hero);
}
.nv-pocket__text { flex: 1 1 360px; min-width: 0; }
.nv-pocket__title { font-size: var(--nv-fs-h2); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; color: var(--nv-on-hero); text-wrap: balance; }
.nv-pocket__body { max-width: 52ch; margin-top: 8px; font-size: var(--nv-fs-lead); line-height: 1.55; color: var(--nv-tip-muted); }
.nv-pocket__points { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 24px; padding: 0; list-style: none; }
.nv-pocket__points li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .9); }
.nv-pocket__points .nv-icon { flex: none; margin-top: 2px; color: color-mix(in srgb, var(--nv-cyan) 65%, var(--nv-on-hero)); }
.nv-pocket__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.nv-pocket__store {
  display: inline-flex; flex-direction: column; justify-content: center; min-height: 50px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--nv-r-input);
  background: rgba(255, 255, 255, .06); color: var(--nv-on-hero);
}
.nv-pocket__store:hover { background: rgba(255, 255, 255, .12); color: var(--nv-on-hero); }
.nv-pocket__store small { font-size: 10px; letter-spacing: .04em; line-height: 1.2; color: var(--nv-tip-muted); }
.nv-pocket__store strong { font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.nv-phone { --nv-phone-frame: color-mix(in srgb, rgb(var(--nv-ink-rgb)) 88%, var(--nv-on-hero)); flex: 0 1 240px; display: flex; justify-content: center; margin: 0 auto; }
.nv-phone__screen {
  position: relative; width: 170px; padding: 22px 12px 16px; border: 8px solid var(--nv-phone-frame); border-radius: var(--nv-r-card); background: var(--nv-surface); color: var(--nv-text);
  overflow: hidden; box-shadow: var(--nv-shadow-toast);
}
.nv-phone__screen::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22px; background: var(--nv-phone-frame); }
.nv-phone__label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--nv-text-3); }
.nv-phone__value { margin-top: 3px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.nv-phone__bar { height: 6px; margin: 10px 0 4px; border-radius: 3px; overflow: hidden; background: var(--nv-primary-light); }
.nv-phone__bar svg { display: block; width: 100%; height: 100%; }
.nv-phone__bar rect { fill: var(--nv-primary); }
.nv-phone__note { margin-bottom: 10px; font-size: 9px; color: var(--nv-text-3); }
.nv-phone__rows { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.nv-phone__rows li { display: flex; align-items: center; gap: 7px; padding: 6px 0; border-top: 1px solid var(--nv-border-soft); font-size: 11px; }
.nv-phone__dot { width: 20px; height: 20px; flex: none; border-radius: 6px; background: var(--nv-surface-alt); }
.nv-phone__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-phone__amt { font-weight: 600; }
.nv-phone__amt.is-in { color: var(--nv-success); }

@media (max-width: 979px) {
  .nv-hero__card { flex-basis: 100%; }
}
/* a phone's first screen is the headline, one line and two buttons: the sign-in card is not repeated (Sign in is in the header and the menu) */
@media (max-width: 719px) {
  .nv-hero__card { display: none; }
  .nv-hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .nv-hero__figure-label { font-size: 12.5px; line-height: 1.3; }
}
