.nl-theme-hero {
    background-color: #f6fbfb;
    background-image:
        radial-gradient(circle, rgba(31, 95, 115, .14) 1px, transparent 1px),
        radial-gradient(ellipse at top right, rgba(65, 156, 161, .19), transparent 45%),
        radial-gradient(ellipse at bottom left, rgba(31, 95, 115, .12), transparent 45%);
    background-size: 32px 32px, 100% 100%, 100% 100%;
}

.nl-theme-hero__feature-panel {
    position: relative;
    width: min(100%, 30rem);
    padding-top: .875rem;
}

.nl-theme-hero__install-note {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    width: max-content;
    max-width: 100%;
    padding: .25rem .75rem;
    border: 1px solid #c8dddd;
    border-radius: 2rem;
    background: #fff;
    box-shadow: 0 2px 6px rgba(31, 95, 115, .09);
    color: var(--nl-product-accent-dark);
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.3;
}

.nl-theme-hero__features {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    border: 1px solid #c8dddd;
    border-radius: var(--nl-product-radius);
    background: #d9e7e7;
    box-shadow: var(--nl-product-shadow);
}

.nl-theme-hero__features li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    margin: 0;
    padding: .625rem .75rem;
    background: #fff;
    color: var(--nl-product-accent-dark);
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.nl-theme-hero__features li span {
    white-space: nowrap;
}

.nl-theme-hero__features > li::before {
    content: none;
}

.nl-theme-hero__features i {
    display: grid;
    place-items: center;
    flex: none;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: .5rem;
    background: #edf6f5;
    color: var(--nl-product-accent);
    font-size: 1rem;
}

@media (max-width: 767.98px) {
    .nl-theme-hero__features > li:nth-child(-n+2) {
        padding-block: .875rem;
    }

    .nl-theme-hero__features > li:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 399.98px) {
    .nl-theme-hero__features li {
        gap: .375rem;
        padding: .5rem .25rem;
    }

    .nl-theme-hero__features i {
        width: 1.5rem;
        height: 1.5rem;
    }
}

@media (max-width: 299.98px) {
    .nl-theme-hero__features {
        grid-template-columns: minmax(0, 1fr);
    }

    .nl-theme-hero__features li span {
        white-space: normal;
    }
}

@media (max-width: 360px) and (max-height: 620px) {
    .nl-theme-hero__features li {
        padding-block: .1875rem;
        font-size: .8125rem;
        line-height: 1.25;
    }

    .nl-theme-hero__features i {
        width: 1.25rem;
        height: 1.25rem;
    }
}

@media (min-width: 768px) {
    .nl-theme-hero__feature-panel {
        width: min(100%, 60rem);
    }

    .nl-theme-hero__install-note {
        left: 40%;
    }

    .nl-theme-hero__features {
        grid-template-columns: repeat(5, auto);
    }

    .nl-theme-hero__features li {
        gap: clamp(.35rem, .6vw, .6rem);
        padding: 1rem clamp(.25rem, .6vw, .75rem);
    }
}

.nl-theme-lead,
.nl-theme-section p,
.nl-theme-details dd {
    color: #475569;
}

.nl-theme-lead {
    max-width: 750px;
}

.nl-theme-purchase {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: .5rem .75rem;
    background: #fff;
    text-align: start;
}

.nl-theme-purchase small,
.nl-theme-purchase strong {
    display: block;
}

.nl-theme-purchase strong {
    color: var(--nl-product-accent-dark);
    font-size: 1.35rem;
    line-height: 1.2;
}

.nl-theme-purchase small,
.nl-theme-purchase strong span {
    color: #475569;
    font-size: .8rem;
}

.nl-theme-section {
    padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.nl-theme-section--tint {
    background: #f5f9f9;
}

.nl-theme-section__intro {
    max-width: 42rem;
    margin: 0 auto 2rem;
    text-align: center;
}

.nl-theme-section__title {
    margin-block: 0 .75rem;
    color: #0f1729;
}

.nl-theme-section__title span,
.nl-theme-demo-card h3 i {
    color: var(--nl-product-accent);
}

.nl-theme-homepage-preview,
.nl-theme-course-preview,
.nl-theme-demo-card__preview {
    display: block;
    overflow: hidden;
    margin: 0;
    aspect-ratio: 16 / 10;
    background: #fff;
}

.nl-theme-homepage-preview img,
.nl-theme-course-preview img,
.nl-theme-demo-card__preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.nl-theme-homepage-preview {
    width: min(100%, 32rem);
    margin-inline: auto;
    aspect-ratio: 5 / 6;
}

.nl-theme-block-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--nl-product-accent);
    text-decoration: none;
}

.nl-theme-block-link:is(:hover, :focus-visible) {
    color: var(--nl-product-accent-dark);
    text-decoration: underline;
}

.nl-theme-card,
.nl-theme-demo-card {
    display: block;
    height: 100%;
    background: #fff;
    color: #0f1729;
}

.nl-theme-card {
    padding: clamp(1rem, 2vw, 1.5rem);
}

.nl-theme-block-card {
    padding: 1.35rem;
    background-image: radial-gradient(circle at bottom right, rgba(31, 95, 115, .09), transparent 4.75rem);
}

.nl-theme-block-card h3 {
    margin: 0 0 .45rem;
}

.nl-theme-block-icon {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    margin-bottom: .9rem;
    border-radius: .8rem;
    background: #edf6f5;
    color: var(--nl-product-accent);
}

.nl-theme-card p:last-child,
.nl-theme-section__intro p:last-child,
.nl-theme-details,
.nl-theme-details dd {
    margin-bottom: 0;
}

.nl-theme-demo-card {
    overflow: hidden;
    text-decoration: none;
}

.nl-theme-demo-card__preview {
    aspect-ratio: 16 / 9;
    border-bottom: 1px solid var(--nl-product-border);
}

.nl-theme-demo-card h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin: 1rem 1rem .375rem;
}

.nl-theme-demo-card p {
    margin: 0 1rem 1rem;
}

.nl-product-page a.nl-theme-demo-card:is(:hover, :focus-visible) {
    border-color: var(--nl-product-accent);
    color: var(--nl-product-accent-dark);
    text-decoration: none;
}

.nl-theme-details > div {
    padding-block: .875rem;
    border-top: 1px solid var(--nl-product-border);
}

.nl-theme-details dt {
    margin-bottom: .25rem;
    color: #0f1729;
}

.nl-theme-card.nl-theme-library {
    display: grid;
    align-items: center;
    gap: .5rem 1.5rem;
}

.nl-theme-library :is(h3, p, .nl-theme-block-icon) {
    margin: 0;
}

.nl-theme-library .nl-btn {
    justify-self: start;
}

@media (min-width: 576px) {
    .nl-theme-homepage-guides {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1.25rem;
    }
}

@media (min-width: 768px) {
    .nl-theme-library {
        grid-template-columns: auto 1fr auto;
    }

    .nl-theme-library .nl-theme-block-icon {
        grid-area: 1 / 1 / span 2;
    }

    .nl-theme-library .nl-btn {
        grid-area: 1 / 3 / span 2;
    }
}

