.hb {
    --fp-acc: #6d4cf0;
    --fp-soft: #f1eeff;
    --fp-line: #ebeaf2;
    --hb-ink: #0e0c1b;
    --hb-a: #6d4cf0;
    --hb-b: #b06bff;
}

.hb--partners { --hb-a: #0f9f75; --hb-b: #6ee7b7; --fp-acc: #0f9f75; --fp-soft: #e6f7f0; }
.hb--promo { --hb-a: #e5484d; --hb-b: #ff9a5c; --fp-acc: #d93b40; --fp-soft: #fff0ee; }
.hb--blog { --hb-a: #2563eb; --hb-b: #7aa2f7; --fp-acc: #2563eb; --fp-soft: #ebf1ff; }

.hb-hero,
.hb-dhero {
    position: relative;
    isolation: isolate;
    margin-top: -64px;
    padding: 156px 0 48px;
    overflow: clip;
    background: linear-gradient(180deg, color-mix(in srgb, var(--hb-a) 7%, #fff), #fff 85%);
}

.hb-dhero {
    padding-bottom: 32px;
}

.hb-hero__bg i {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(14, 12, 27, .1) 1px, transparent 1.3px);
    background-size: 22px 22px;
    mask-image: radial-gradient(ellipse 55% 60% at 76% 40%, #000 15%, transparent 72%);
}

.hb-hero__bg span {
    position: absolute;
    z-index: -1;
    right: -4%;
    top: 6%;
    width: 600px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--hb-b) 30%, transparent), transparent 65%);
    filter: blur(10px);
}

.hb-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
}

.hb-hero__grid > * {
    min-width: 0;
}

.hb .fp-eyebrow b {
    background: var(--hb-a);
}

.hb-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hb-stats span {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 14px;
    border: 1px solid var(--fp-line);
    background: rgba(255, 255, 255, .85);
    font-size: 14px;
    color: #5f5f6e;
}

.hb-stats b {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--hb-ink);
}

.hb-orbit {
    position: relative;
    height: 400px;
}

.hb-orbit__core {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 110px;
    height: 110px;
    translate: -50% -50%;
    display: grid;
    place-items: center;
    border-radius: 34px;
    background: linear-gradient(135deg, var(--hb-a), var(--hb-b));
    color: #fff;
    box-shadow: 0 30px 60px -24px color-mix(in srgb, var(--hb-a) 60%, transparent);
}

.hb-orbit__core .fp-ico {
    width: 44px;
    height: 44px;
}

.hb-orbit__ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 300px;
    height: 300px;
    translate: -50% -50%;
    border-radius: 50%;
    border: 1px dashed color-mix(in srgb, var(--hb-a) 40%, transparent);
}

.hb-orbit__ring.is-b {
    width: 200px;
    height: 200px;
    border-style: solid;
    border-color: var(--fp-line);
}

.hb-orbit__spin {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    animation: hb-spin 40s linear infinite;
}

.hb-orbit__item {
    position: absolute;
    left: 0;
    top: 0;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    color: var(--hb-a);
    box-shadow: 0 20px 40px -20px rgba(14, 12, 27, .35), inset 0 0 0 1px var(--fp-line);
    transform: rotate(calc(var(--i, 0) * 360deg / var(--n, 6))) translate(150px) rotate(calc(var(--i, 0) * -360deg / var(--n, 6)));
}

.hb-orbit__item > * {
    animation: hb-spin 40s linear infinite reverse;
}

.hb-orbit__item img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.hb-orbit__item b {
    font-size: 22px;
    font-weight: 700;
}

.hb-orbit__item .fp-ico {
    width: 26px;
    height: 26px;
}

@keyframes hb-spin {
    to { rotate: 360deg; }
}

.hb-list-sec {
    padding-top: 48px;
}

.hb-tools {
    position: sticky;
    top: 84px;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 -12px 28px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px);
}

.hb-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hb-chips button,
.hb-chips a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--fp-line);
    background: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 550;
    color: #4a4a58;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}

.hb-chips button em,
.hb-chips a em {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: grid;
    place-items: center;
    border-radius: 99px;
    background: #f3f2f8;
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
}

.hb-chips button.is-on,
.hb-chips a.is-on {
    border-color: var(--hb-ink);
    background: var(--hb-ink);
    color: #fff;
}

.hb-chips button.is-on em,
.hb-chips a.is-on em {
    background: rgba(255, 255, 255, .16);
}

.hb-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%, 300px);
    height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid var(--fp-line);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.hb-search:focus-within {
    border-color: var(--hb-a);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--hb-a) 14%, transparent);
}

.hb-search .fp-ico {
    width: 16px;
    height: 16px;
    color: #9a99a8;
}

.hb-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: none;
    font: inherit;
    font-size: 14.5px;
}

.hb-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hb-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--fp-line);
    background: #fff;
    color: var(--hb-ink);
    text-decoration: none;
    transition: transform .35s cubic-bezier(.3, .7, .2, 1), box-shadow .35s, border-color .35s;
    animation: hb-in .45s cubic-bezier(.3, .7, .2, 1) both;
}

@keyframes hb-in {
    from { opacity: 0; transform: translateY(10px); }
}

.hb-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--hb-a) 30%, var(--fp-line));
    box-shadow: 0 40px 70px -46px rgba(14, 12, 27, .45);
}

.hb-card.is-featured {
    background: linear-gradient(160deg, #fff, var(--fp-soft));
}

.hb-card[hidden] {
    display: none;
}

.hb-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.hb-logo {
    width: 64px;
    height: 64px;
    flex: none;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 18px;
    background: #f6f5fa;
    border: 1px solid var(--fp-line);
}

.hb-logo img {
    width: 72%;
    height: 72%;
    object-fit: contain;
}

.hb-logo b {
    font-size: 24px;
    font-weight: 700;
    color: var(--hb-a);
}

.hb-logo.is-xl {
    width: 120px;
    height: 120px;
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 30px 60px -30px rgba(14, 12, 27, .4);
}

.hb-logo.is-xl b {
    font-size: 44px;
}

.hb-logo.is-sm {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.hb-logo.is-sm b {
    font-size: 14px;
}

.hb-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--hb-ink);
    color: #fff;
    font-style: normal;
    font-size: 11.5px;
    font-weight: 600;
}

.hb-badge .fp-ico {
    width: 13px;
    height: 13px;
    color: #ffd166;
}

.hb-card__t {
    margin-top: 18px;
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -.01em;
}

.hb-card__c {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--fp-acc);
}

.hb-card__d {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #5f5f6e;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hb-card__go {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 18px;
    font-size: 14px;
    font-weight: 600;
}

.hb-card__go .fp-ico {
    width: 15px;
    height: 15px;
    transition: transform .2s;
}

.hb-card:hover .hb-card__go .fp-ico {
    transform: translateX(4px);
}

.hb-none,
.hb-empty {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 56px 24px;
    border-radius: 28px;
    border: 1px dashed var(--fp-line);
    text-align: center;
    color: #5f5f6e;
}

.hb-none[hidden] {
    display: none;
}

.hb-none .fp-ico,
.hb-empty > span .fp-ico {
    width: 28px;
    height: 28px;
    color: var(--hb-a);
}

.hb-empty > span {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: var(--fp-soft);
}

.hb-empty b {
    font-size: 18px;
    color: var(--hb-ink);
}

.hb-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    padding: 56px;
    border-radius: 32px;
    background: radial-gradient(ellipse 60% 120% at 100% 0%, color-mix(in srgb, var(--hb-a) 45%, transparent), transparent 60%), var(--hb-ink);
    color: #fff;
}

.hb-cta .fp-lead {
    margin-top: 12px;
}

.hb-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    font-size: 14px;
    color: #6b6b7b;
}

.hb-crumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px 0 10px;
    border-radius: 999px;
    border: 1px solid var(--fp-line);
    background: #fff;
    color: var(--hb-ink);
    text-decoration: none;
    font-weight: 500;
}

.hb-crumb a .fp-ico {
    width: 15px;
    height: 15px;
}

.hb-crumb > span::before {
    content: "/";
    margin-right: 10px;
    color: #c9c8d6;
}

.hb-dhead {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
}

.hb-dhead > div {
    min-width: 0;
}

.hb-dtitle {
    margin: 0;
    font-size: clamp(32px, 4.4vw, 54px);
    line-height: 1.1;
    font-weight: 300;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.hb-dhead .fp-desc {
    margin-top: 12px;
    font-size: 17px;
}

.hb-dmeta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.hb-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f3f2f8;
    font-size: 12.5px;
    font-weight: 600;
    color: #4a4a58;
}

.hb-tag.is-ok {
    background: var(--fp-soft);
    color: var(--fp-acc);
}

.hb-tag .fp-ico {
    width: 14px;
    height: 14px;
}

.hb-dbody-sec {
    padding-top: 40px;
}

.hb-dgrid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
    align-items: start;
}

.hb-dbody {
    min-width: 0;
}

.hb-muted {
    color: #6b6b7b;
}

.hb-side {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 14px;
}

.hb-side__card {
    padding: 22px;
    border-radius: 22px;
    border: 1px solid var(--fp-line);
    background: #fff;
}

.hb-side__k {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9a99a8;
}

.hb-side__card ul {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.hb-side__card li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: #6b6b7b;
}

.hb-side__card li b,
.hb-side__card li a {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--hb-ink);
    font-weight: 600;
}

.hb-side__btn {
    width: 100%;
    box-sizing: border-box;
    margin-top: 18px;
}

.hb-side__btn .fp-ico {
    width: 16px;
    height: 16px;
}

.hb-rel {
    display: grid;
    gap: 6px;
}

.hb-rel a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 14px;
    color: var(--hb-ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 550;
    transition: background .2s;
}

.hb-rel a:hover {
    background: #f6f5fa;
}

.hb-rel a > span:nth-child(2) {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hb-rel a > .fp-ico {
    width: 16px;
    height: 16px;
    color: #9a99a8;
}

@media (max-width: 1024px) {
    .hb-hero__grid,
    .hb-dgrid {
        grid-template-columns: 1fr;
    }

    .hb-orbit {
        height: 340px;
    }

    .hb-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hb-side {
        position: static;
    }

    .hb-cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .hb-hero,
    .hb-dhero {
        padding: 116px 0 24px;
    }

    .hb-orbit {
        height: 280px;
    }

    .hb-orbit__ring { width: 220px; height: 220px; }
    .hb-orbit__ring.is-b { width: 150px; height: 150px; }

    .hb-orbit__core {
        width: 80px;
        height: 80px;
        border-radius: 24px;
    }

    .hb-orbit__item {
        width: 48px;
        height: 48px;
        margin: -24px 0 0 -24px;
        border-radius: 14px;
        transform: rotate(calc(var(--i, 0) * 360deg / var(--n, 6))) translate(110px) rotate(calc(var(--i, 0) * -360deg / var(--n, 6)));
    }

    .hb-tools {
        position: static;
        margin: 0 0 20px;
        padding: 0;
        background: none;
        backdrop-filter: none;
    }

    .hb-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 100%;
        scrollbar-width: none;
    }

    .hb-chips button,
    .hb-chips a {
        flex: none;
    }

    .hb-search {
        width: 100%;
    }

    .hb-grid {
        grid-template-columns: 1fr;
    }

    .hb-dhead {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hb-logo.is-xl {
        width: 88px;
        height: 88px;
        border-radius: 24px;
    }

    .hb-cta {
        padding: 36px 22px;
        border-radius: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hb-orbit__spin,
    .hb-orbit__item > *,
    .hb-card {
        animation: none;
    }
}
