.hts-section {
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Nav pills --- */
.hts-nav {
    display: flex;
    flex-direction: column;

    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    background: #fff;
    border: none;
    border-radius: 999px;
    padding: 6px;
    width: fit-content;
    margin: 0 auto 32px;

    @media (min-width: 900px) {
        border: 1px solid #e6e6e6;
        flex-direction: row;
    }
}

.hts-nav__item {
    appearance: none;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #323338;
    padding: 10px 20px;
    border-radius: 999px;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
    white-space: nowrap;
}

.hts-nav__item:hover {
    background: #f5f5f7;
}

.hts-nav__item.is-active {
    border: 1px solid #0c18f1;
    color: #0c18f1;
}

/* --- Panels --- */
.hts-panels {
    position: relative;
}

.hts-panel[hidden] {
    display: none;
}

.hts-layout--split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 900px) {
    .hts-layout--split {
        grid-template-columns: 1fr;
    }
}

/* --- Primary gradient card --- */
.hts-card--primary {
    position: relative;
    /* background: linear-gradient(135deg, #5b4ff5 0%, #7b6ffb 100%); */
    border-radius: 24px;
    padding: 48px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 3;
}

.hts-main__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    @media (min-width: 900px) {
        flex-direction: row;
    }
}

.hts-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;

    li {
        list-style: none;
        border-radius: 999px;
        border: 1px solid #fff;
        padding: 2px 4px;

        font-size: 12px;
        font-weight: 600;
        opacity: 0.9;
    }

    @media (min-width: 900px) {
        li {
            font-size: 14px;
            padding: 4px 12px;
        }
    }
}

.hts-project {
    font-size: 1.8rem;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 20px;

    h2 {
        font-size: 1.3rem;
        line-height: 1.2;
        font-weight: 700;
        color: white;
    }

    @media (min-width: 900px) {
        h2 {
            font-size: 1.7rem;
        }
    }
}

.hts-tags__item {
}

.hts-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
    margin: 0 0 24px;
}

.hts-eyebrow__icon {
    display: inline-flex;
}

.hts-title {
    color: #fff;
    font-size: 40px;
    line-height: 1.15;
    font-weight: 700;
    max-width: 480px;
}

.hts-subtitle {
    color: #fff;
    font-size: 36px;
    line-height: 1.5;
    font-weight: 700;
    margin: 0 0 16px;
}

.hts-text {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 420px;
    margin: 0 0 28px;
}

.hts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 60%;
}

.hts-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 15px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s ease;
    max-width: fit-content;
}

.hts-btn:hover {
    transform: translateY(-1px);
}

.hts-btn--white {
    background: #fff;
    color: #323338;
}

.hts-mockup {
    margin-top: 32px;
    border-radius: 16px;
    overflow: hidden;
}

.hts-mockup img {
    display: block;
    width: 100%;
    height: auto;
}

/* --- Sidebar cards --- */
.hts-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 1;
}

.hts-stat-card,
.hts-quote-card {
    background: #f5f4ff;
    border-radius: 20px;
    padding: 28px;
    flex: 1;
}

.hts-logo {
    height: 28px;
    width: auto;
    margin-bottom: 16px;
}

.hts-stat {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 16px;

    line-height: 1.35;
    color: #323338;
    margin: 0;
}

.hts-stat__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.hts-quote {
    border: none;
    font-size: 15px;
    line-height: 1.6;
    color: #323338;
    margin: 0 0 20px;
    font-style: normal;
}

.hts-quote__author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #e2e0fa;
    padding-top: 16px;
}

.hts-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.hts-author {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

.hts-author__name {
    font-weight: 600;
    font-size: 14px;
    margin: 0;
    padding: 0;
    color: #323338;
}

.hts-author__role {
    font-size: 13px;
    color: #676879;
    padding: 0;
    margin: 0;
}
