.product-features {
    position: relative;
    z-index: 1;
    overflow: clip;
    padding: 32px 0;
    background: transparent;
}

.product-features__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.product-features__heading {
    margin: 15% 0 20px;
}

.product-features__title {
    margin: 0;
    color: #111827;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 38px;
}

.product-features__intro {
    max-width: 1060px;
    margin: 10px 0 0;
    color: #374151;
    font-size: 15px;
    line-height: 23px;
}

.product-features__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.product-features__list {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.product-features__item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: rgb(255 255 255 / 70%);
    color: #1f2937;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease;
}

.product-features__item:hover {
    border-color: #a9c6f5;
}

.product-features__item[aria-selected="true"] {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: inset 0 0 0 1px #3b82f6;
}

.product-features__item:focus-visible,
.product-features__panel:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 3px;
}

.product-features__thumbnail {
    position: relative;
    display: block;
    width: 56px;
    height: 56px;
}

.product-features__thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-features__thumbnail .product-features__thumbnail-overlay {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 2px 2px rgb(15 23 42 / 18%));
}

.product-features__item--headache {
    grid-template-columns: 70px minmax(0, 1fr);
}

.product-features__thumbnail--headache {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 70px;
}

.product-features__thumbnail--headache > img:first-child {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
}

.product-features__thumbnail--revenue,
.product-features__thumbnail--compliant-workflows {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-features__thumbnail--revenue img,
.product-features__thumbnail--compliant-workflows img {
    width: 36px;
    height: 36px;
}

.product-features__item-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 21px;
}

.product-features__summary {
    display: block;
    margin-top: 6px;
    color: #596579;
    font-size: 14px;
    line-height: 21px;
}

.product-features__preview {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 36px -24px rgb(15 23 42 / 22%);
}

.product-features__panel[hidden] {
    display: none;
}

.product-features__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 2.15;
    overflow: hidden;
    background: #fff;
}

.product-features__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.product-features__visual--headache {
    aspect-ratio: 1.85;
}

.product-features__visual--compliant-workflows {
    aspect-ratio: 1439 / 579;
}

.product-features__visual--integrations .product-features__image,
.product-features__visual--devices .product-features__image {
    object-fit: contain;
}

.product-features__details {
    padding: 20px;
}

.product-features__details h3 {
    margin: 0;
    color: #111827;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 28px;
}

.product-features__details p {
    margin: 10px 0 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 22px;
}

.product-features__details ul {
    display: grid;
    gap: 6px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.product-features__details li {
    display: flex;
    align-items: start;
    gap: 8px;
    color: #374151;
    font-size: 13px;
    line-height: 20px;
}

.product-features__details li svg {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    color: #2563eb;
}

@media (max-width: 639px) {
    .product-features__container {
        padding: 0 16px;
    }

    .product-features__title {
        font-size: 28px;
        line-height: 34px;
    }
}

@media (min-width: 640px) {
    .product-features__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .product-features__item {
        align-content: start;
        height: 100%;
    }

    .product-features__item-copy {
        display: contents;
    }

    .product-features__summary {
        grid-column: 1 / -1;
        margin-top: 0;
    }

}

@media (min-width: 1024px) {
    .product-features {
        padding: 24px 0;
    }

    .product-features__container {
        padding: 0 32px;
    }

    .product-features__layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .product-features__heading {
        max-width: calc((100% - 32px) / 2);
    }

    .product-features__details {
        min-height: 222px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-features__item {
        transition: none;
    }
}
