.npm-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.npm-modal[hidden] {
    display: none !important;
}

.npm-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.npm-modal__dialog {
    position: relative;
    width: min(800px, calc(100% - 48px));
    min-width: min(800px, calc(100% - 48px));
    min-height: 420px;
    max-height: calc(100vh - 64px);
    margin: 0;
    background: #fff;
    border-radius: 14px;
    overflow: auto;
    padding: 18px 18px 22px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.npm-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 22px;
    line-height: 36px;
    background-color: transparent;
}

.npm-modal__logo {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.npm-modal__logo img {
    max-width: 100px;
    height: auto;
}

.npm-modal__title {
    text-align: center;
    margin: 10px 0;
    font: normal normal normal 40px/55px Open Sans;
    color: #434343;
    text-transform: capitalize;
}

.npm-modal__hero {
    border-top: 1px solid #D8D8D8;
    padding-top: 32px;
    margin-top: 24px;
}

.npm-modal__hero img {
    border-radius: 14px;
    overflow: hidden;
    display: block;
    width: 100%;
    height: auto;
    max-width: 640px;
    margin: 0 auto;
}

.npm-modal__desc {
    margin-top: 14px;
    font: normal normal normal 16px/24px Open Sans;
    letter-spacing: 0px;
    color: #434343;
}

.npm-modal__desc > :first-child {
    margin-top: 0;
}

.npm-modal__desc > :last-child {
    margin-bottom: 0;
}

.npm-modal__desc p,
.npm-modal__desc ul,
.npm-modal__desc ol,
.npm-modal__desc blockquote,
.npm-modal__desc pre,
.npm-modal__desc table {
    margin: 0 0 1em;
}

.npm-modal__desc h1,
.npm-modal__desc h2,
.npm-modal__desc h3,
.npm-modal__desc h4,
.npm-modal__desc h5,
.npm-modal__desc h6 {
    margin: 1.25em 0 0.6em;
    line-height: 1.3;
    color: #2f2f2f;
    font-weight: 700;
}

.npm-modal__desc h1 {
    font-size: 2em;
}

.npm-modal__desc h2 {
    font-size: 1.65em;
}

.npm-modal__desc h3 {
    font-size: 1.35em;
}

.npm-modal__desc h4 {
    font-size: 1.15em;
}

.npm-modal__desc ul,
.npm-modal__desc ol {
    padding-left: 1.4em;
    list-style-position: outside !important;
}

.npm-modal__desc ul {
    list-style-type: disc !important;
}

.npm-modal__desc ol {
    list-style-type: decimal !important;
}

.npm-modal__desc li {
    display: list-item !important;
    margin: 0.35em 0;
}

.npm-modal__desc li::marker {
    color: #028ED5;
}

.npm-modal__desc ul ul {
    list-style-type: circle !important;
}

.npm-modal__desc ul ul ul {
    list-style-type: square !important;
}

.npm-modal__desc a {
    color: #0f4c81;
    text-decoration: underline;
}

.npm-modal__desc strong,
.npm-modal__desc b {
    font-weight: 700;
}

.npm-modal__desc em,
.npm-modal__desc i {
    font-style: italic;
}

.npm-modal__desc blockquote {
    margin-left: 0;
    padding: 0.25em 0 0.25em 1em;
    border-left: 3px solid #d8d8d8;
    color: #555;
}

.npm-modal__desc img {
    max-width: 100%;
    height: auto;
}

.npm-modal__desc .alignleft {
    float: left;
    margin: 0.3em 1.2em 0.8em 0;
}

.npm-modal__desc .alignright {
    float: right;
    margin: 0.3em 0 0.8em 1.2em;
}

.npm-modal__desc .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.npm-modal__desc::after {
    content: "";
    display: block;
    clear: both;
}

.npm-modal__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 16px;
}

.npm-modal__col-title {
    font-size: 12px;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: #2b2b2b;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.npm-modal__list {
    margin: 0;
    padding-left: 18px;
}

.npm-modal__list li {
    margin: 8px 0;
    font-size: 14px;
    color: #2f2f2f;
}

.npm-modal__list li::marker {
    color: #3aa0d8;
}

.npm-modal__cta {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.npm-modal__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: #0f4c81;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

.npm-modal__cta-btn:hover {
    background: #0b3a63;
}

html.npm-modal-open,
html.npm-modal-open body {
    overflow: hidden;
}

@media (min-width: 768px) {
    .npm-modal__dialog {
        padding: 64px 80px 80px;
        min-height: 520px;
    }

    .npm-modal__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 44px;
    }
}

.npm-modal__action {
    text-align: center;
    margin-top: 24px;
}

.npm-modal__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    text-decoration: none;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #999999;
    border-radius: 22px;
    font: normal normal 600 14px/16px Open Sans;
    letter-spacing: 0px;
    color: #666666;
    text-transform: uppercase;
}
