.nb-home-slider {
    position: relative;
    margin-top: 20px;
    margin-bottom: 22px;
    overflow: hidden;
    border: 1px solid #dce7f4;
    border-radius: 28px;
    background: #eef6ff;
    box-shadow: 0 22px 55px rgba(48, 91, 158, .13);
}

.nb-home-slider-viewport {
    overflow: hidden;
}

.nb-home-slider-track {
    display: flex;
    transition: transform .65s cubic-bezier(.22, .75, .25, 1);
    will-change: transform;
}

.nb-home-slide {
    position: relative;
    min-width: 100%;
    aspect-ratio: 4 / 1;
    overflow: hidden;
    color: #172033;
}

.nb-home-slide > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.015);
    transition: transform 5.5s ease;
}

.nb-home-slide.is-active > img {
    transform: scale(1.045);
}

.nb-home-slide-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(246, 250, 255, .98) 0%, rgba(246, 250, 255, .92) 30%, rgba(246, 250, 255, .34) 55%, rgba(246, 250, 255, 0) 72%);
}

.nb-home-slide-copy {
    position: relative;
    z-index: 2;
    display: flex;
    width: 55%;
    height: 100%;
    justify-content: center;
    flex-direction: column;
    padding: clamp(30px, 4vw, 64px);
}

.nb-home-slide-eyebrow {
    margin-bottom: 13px;
    color: #286ce7;
    font-size: clamp(10px, 1vw, 14px);
    font-weight: 850;
    letter-spacing: .15em;
}

.nb-home-slide-copy > strong {
    max-width: 720px;
    font-size: clamp(28px, 3.2vw, 50px);
    line-height: 1.16;
    letter-spacing: -.035em;
}

.nb-home-slide-subtitle {
    max-width: 620px;
    margin-top: 14px;
    color: #526984;
    font-size: clamp(13px, 1.3vw, 17px);
    line-height: 1.7;
}

.nb-home-slide-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.nb-home-slide-points > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid rgba(47, 115, 234, .2);
    border-radius: 999px;
    color: #2465d5;
    background: rgba(255, 255, 255, .68);
    backdrop-filter: blur(6px);
    font-size: 12px;
    font-weight: 750;
}

.nb-home-slide-points i {
    display: grid;
    width: 17px;
    height: 17px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 10px;
    font-style: normal;
}

.nb-home-slider-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    color: #2f73ea;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 8px 24px rgba(34, 78, 145, .18);
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity .2s ease, transform .2s ease;
}

.nb-home-slider:hover .nb-home-slider-arrow,
.nb-home-slider:focus-within .nb-home-slider-arrow { opacity: 1; }
.nb-home-slider-arrow:hover { transform: translateY(-50%) scale(1.06); }
.nb-home-slider-arrow.is-prev { left: 16px; }
.nb-home-slider-arrow.is-next { right: 16px; }

.nb-home-slider-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 15px;
    display: flex;
    gap: 7px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(8px);
    transform: translateX(-50%);
}

.nb-home-slider-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: #a9bad1;
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}

.nb-home-slider-dots button.is-active {
    width: 25px;
    background: #2f73ea;
}

@media (max-width: 900px) {
    .nb-home-slide { aspect-ratio: 3 / 1; }
    .nb-home-slide-copy { width: 65%; padding: 28px 34px; }
    .nb-home-slide-points > span:last-child { display: none; }
}

@media (max-width: 640px) {
    .nb-home-slider {
        margin-top: 12px;
        margin-bottom: 14px;
        border-radius: 19px;
    }
    .nb-home-slide { min-height: 340px; aspect-ratio: auto; }
    .nb-home-slide > img { object-position: 68% center; }
    .nb-home-slide-shade {
        background: linear-gradient(90deg, rgba(247, 251, 255, .98) 0%, rgba(247, 251, 255, .92) 54%, rgba(247, 251, 255, .45) 100%);
    }
    .nb-home-slide-copy {
        width: 88%;
        padding: 28px 23px 52px;
    }
    .nb-home-slide-copy > strong { font-size: 27px; }
    .nb-home-slide-subtitle { max-width: 92%; font-size: 13px; }
    .nb-home-slide-points { gap: 7px; }
    .nb-home-slide-points > span { padding: 6px 9px; font-size: 11px; }
    .nb-home-slider-arrow { display: none; }
    .nb-home-slider-dots { bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .nb-home-slider-track,
    .nb-home-slide > img { transition: none; }
}
