[id^="calc-visitors-"] {
    width: 110px;
}

[id^="calc-cvr-"] {
    width: 110px;
}

[id^="calc-aov-"] {
    width: 110px;
}

@media (max-width: 768px) {
    #back-to-top {
        bottom: calc(var(--spacing) * 20);
    }

    [id^="calc-visitors-"] {
        width: 90px;
    }

    [id^="calc-cvr-"] {
        width: 90px;
    }

    [id^="calc-aov-"] {
        width: 90px;
    }
}

[data-carousel-slide] .rounded-2xl {
    height: 320px;
    display: flex;
    flex-direction: column;
    transition: height 0.3s ease;
}

/* When expanded */
[data-carousel-slide].expanded-card .rounded-2xl {
    height: auto;
    min-height: 320px;
}

/* Text clamp */
[data-carousel-slide] blockquote {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    flex: 1;
    min-height: 0;
}

/* Expanded text */
[data-carousel-slide] blockquote.expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    flex: unset;
}


@media (max-width: 767px) {
    .partner-logos {
        justify-content: center;
        gap: 24px;
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 767px) {
    @keyframes partner-scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }

    .partner-carousel {
        animation: partner-scroll 18s linear infinite;
    }

    .partner-carousel:hover {
        animation-play-state: paused;
    }
}

@media (max-width: 767px) {
    #partner-carousel-mobile {
        display: block !important;
    }

    #partner-logos-desktop {
        display: none !important;
    }
}

.hero-description ul {
    margin-top: 0.75rem;
    display: inline-block;
    text-align: left;
}

.hero-description li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0;
}

.hero-description li::before {
    content: "";
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 3px;
    background-color: #34d399;

    -webkit-mask-image: url("data:image/svg+xml,%3Csvg fill='none' viewBox='0 0 24 24' stroke='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg fill='none' viewBox='0 0 24 24' stroke='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}

.hero-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 0.75rem;
}

.hero-video-wrapper iframe,
.hero-video-wrapper video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 1024px) {
    .hero-copy {
        text-align: left !important;
    }

    .hero-heading {
        font-size: 3.5rem !important;
        line-height: 1.1 !important;
    }
}

@media (min-width: 1280px) {
    .hero-heading {
        font-size: 4rem !important;
    }
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.hero-features .feature-label {
    font-size: 0.875rem; /* mobile: small so 3 fit one row */
    line-height: 1.2;
}

@media (min-width: 640px) {
    .hero-features {
        gap: 2rem;
    }

    .hero-features .feature-label {
        font-size: 1.875rem;
    }

    /* text-3xl */
}

@media (min-width: 1024px) {
    .hero-features .feature-label {
        font-size: 2.25rem;
    }

    /* text-4xl */
}
