.rf-hero {
    position: relative;
    margin-top: -64px;
    padding: 172px 0 0;
    overflow: hidden;
    background: #0a0a0c;
    color: #fff;
    text-align: center;
}

.rf-hero__glow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.rf-hero__glow i {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform;
}

.rf-hero__glow i:nth-child(1) {
    left: -6%;
    top: -18%;
    width: 760px;
    height: 620px;
    background: radial-gradient(closest-side, #2b224b, rgba(43, 34, 75, 0));
    animation: rf-drift-a 24s ease-in-out infinite alternate;
}

.rf-hero__glow i:nth-child(2) {
    right: -8%;
    top: 10%;
    width: 820px;
    height: 640px;
    background: radial-gradient(closest-side, rgba(106, 75, 216, .42), rgba(106, 75, 216, 0));
    animation: rf-drift-b 30s ease-in-out infinite alternate;
}

.rf-hero__glow i:nth-child(3) {
    left: 26%;
    bottom: -26%;
    width: 980px;
    height: 620px;
    background: radial-gradient(closest-side, #2b224b, rgba(43, 34, 75, 0));
    animation: rf-drift-c 36s ease-in-out infinite alternate;
}

@keyframes rf-drift-a {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(160px, 100px, 0) scale(1.15); }
}

@keyframes rf-drift-b {
    from { transform: translate3d(0, 0, 0) scale(1.05); }
    to { transform: translate3d(-180px, -80px, 0) scale(.92); }
}

@keyframes rf-drift-c {
    from { transform: translate3d(-100px, 0, 0) scale(1); }
    to { transform: translate3d(130px, -90px, 0) scale(1.12); }
}

.rf-hero__in {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 72px;
}

.rf-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, .82);
}

.rf-badge .fp-ico {
    width: 15px;
    height: 15px;
}

.rf-title {
    max-width: 820px;
    margin: 22px 0 0;
    font-size: 56px;
    line-height: 1.1;
    font-weight: 300;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.rf-title strong {
    font-weight: 700;
}

.rf-desc {
    max-width: 600px;
    margin: 18px 0 0;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .72);
}

.rf-solid,
.rf-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.01em;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, border-color .15s;
}

.rf-solid {
    background: #fff;
    color: #0a0a0c;
}

.rf-solid:hover {
    background: #e7e7ea;
}

.rf-solid .fp-ico {
    width: 16px;
    height: 16px;
}

.rf-line {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .04);
    color: #fff;
}

.rf-line:hover {
    border-color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .1);
}

.rf-stats {
    display: flex;
    justify-content: center;
    gap: 44px;
    margin: 40px 0 0;
}

.rf-stats div {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 2px;
}

.rf-stats dt {
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
}

.rf-stats dt::first-letter {
    text-transform: uppercase;
}

.rf-stats dd {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}

.rf-acts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.rf-btn,
.rf-ghost {
    display: inline-flex;
    align-items: center;
    height: 50px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.01em;
    text-decoration: none;
}

.rf-btn {
    gap: 14px;
    padding: 0 6px 0 22px;
    background: #0a0a0b;
    color: #fff;
    box-shadow: 0 12px 30px -12px rgba(10, 10, 11, .55);
}

.rf-btn i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #7c3aed;
    transition: transform .25s ease;
}

.rf-btn .fp-ico {
    width: 17px;
    height: 17px;
}

.rf-btn:hover i {
    transform: rotate(45deg);
}

.rf-ghost {
    padding: 0 24px;
    border: 1px solid rgba(10, 10, 11, .12);
    background: #fff;
    color: #0a0a0b;
    box-shadow: 0 1px 2px rgba(10, 10, 11, .05);
    transition: border-color .2s ease;
}

.rf-ghost:hover {
    border-color: rgba(10, 10, 11, .28);
}

.rf-kicker {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #7c3aed;
}

.rf-logos {
    position: relative;
    padding: 0 0 76px;
}

.rf-logos::before,
.rf-logos::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 76px;
    width: 12%;
    pointer-events: none;
}

.rf-logos::before {
    left: 0;
    background: linear-gradient(90deg, #0a0a0c, rgba(10, 10, 12, 0));
}

.rf-logos::after {
    right: 0;
    background: linear-gradient(270deg, #0a0a0c, rgba(10, 10, 12, 0));
}

.rf-logos__track {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.rf-logos__track::-webkit-scrollbar {
    display: none;
}

.rf-logos__track.is-drag {
    cursor: grabbing;
}

.rf-logos__track.is-static {
    justify-content: center;
    cursor: default;
}

.rf-logos__track.is-static ul[aria-hidden] {
    display: none;
}

.rf-logos ul {
    display: flex;
    flex: none;
    align-items: center;
    gap: 68px;
    margin: 0;
    padding: 0 34px;
    list-style: none;
}

.rf-logos__item {
    display: flex;
    align-items: center;
    height: 52px;
    color: #fff;
    text-decoration: none;
}

.rf-logos__item b {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.02em;
    white-space: nowrap;
    opacity: .78;
}

.rf-logos__item img {
    display: block;
    width: auto;
    height: 52px;
    max-width: 168px;
    object-fit: contain;
    opacity: 0;
    transition: opacity .25s;
}

.rf-logos__item img.is-mono {
    opacity: .78;
    filter: brightness(0) invert(1);
}

.rf-logos__item img.is-dark {
    opacity: .78;
    filter: grayscale(1) contrast(3);
    mix-blend-mode: screen;
}

.rf-logos__item img.is-light {
    opacity: .78;
    filter: grayscale(1) invert(1) contrast(3);
    mix-blend-mode: screen;
}

.rf-logos__item:hover img,
.rf-logos__item:hover b {
    opacity: 1;
}

.rf-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .12) 38%, rgba(0, 0, 0, .82) 76%, #000);
}

.rf-card__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rf-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    max-width: 62%;
    max-height: 26%;
    object-fit: contain;
    transform: translate(-50%, -50%);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    text-align: center;
    color: #fff;
}

img.rf-logo {
    opacity: 0;
    transition: opacity .3s;
}

img.rf-logo.is-mono {
    opacity: 1;
    filter: brightness(0) invert(1);
}

img.rf-logo.is-badge {
    width: auto;
    height: auto;
    min-width: 72px;
    max-width: 62%;
    max-height: 72px;
    padding: 8px 12px;
    border-radius: 18px;
    background: #fff;
    opacity: 1;
}

.rf-head {
    margin-bottom: 28px;
}

.rf-head h2 {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -.035em;
    color: #0a0a0b;
    text-wrap: balance;
}

.rf-tools {
    display: block;
    margin-bottom: 28px;
    padding: 10px 12px;
}

.rf-tools .hb-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    mask-image: linear-gradient(90deg, #000, #000 calc(100% - 48px), transparent);
}

.rf-tools .hb-chips::-webkit-scrollbar {
    display: none;
}

.rf-tools .hb-chips.is-drag {
    cursor: grabbing;
}

.rf-tools .hb-chips.is-end {
    mask-image: none;
}

.rf-tools .hb-chips button {
    flex: none;
}

.rf-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.rf-card {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 14px;
    background: var(--hb-ink);
    color: #fff;
    text-decoration: none;
}

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

@property --rf-turn {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.rf-card.is-featured {
    box-shadow: 0 0 0 1px rgba(167, 139, 250, .4), 0 26px 60px -28px rgba(124, 58, 237, .75);
}

.rf-card.is-featured::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 3px;
    border-radius: inherit;
    background: conic-gradient(from var(--rf-turn), transparent 0deg, transparent 230deg, #7c3aed 280deg, #a78bfa 320deg, #f0abfc 350deg, transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
    animation: rf-turn 4.5s linear infinite;
}

.rf-card.is-featured:nth-child(2n)::before {
    animation-delay: -1.5s;
}

.rf-card.is-featured:nth-child(3n)::before {
    animation-delay: -3s;
}

@keyframes rf-turn {
    to { --rf-turn: 360deg; }
}

.rf-card:focus-visible {
    outline: 2px solid var(--hb-a);
    outline-offset: 3px;
}

.rf-card__body {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 20px;
    z-index: 1;
    display: grid;
    gap: 12px;
    justify-items: start;
}

.rf-card__cat {
    max-width: 100%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px 3px 8px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 40px;
    background: rgba(255, 255, 255, .22);
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
}

.rf-card__cat .fp-ico {
    width: 16px;
    height: 16px;
}

.rf-card__cat span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rf-card__more {
    display: grid;
    grid-template-rows: 0fr;
    margin-top: -12px;
    opacity: 0;
    transition: grid-template-rows .3s ease, margin-top .3s ease, opacity .1s ease;
}

.rf-card__more > span {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 0;
    overflow: hidden;
    font-size: 15px;
    line-height: 24px;
    font-weight: 500;
}

.rf-card__more .fp-ico {
    width: 16px;
    height: 16px;
}

.rf-card:hover .rf-card__more,
.rf-card:focus-visible .rf-card__more {
    grid-template-rows: 1fr;
    margin-top: 0;
    opacity: 1;
    transition: grid-template-rows .3s ease, margin-top .3s ease, opacity .3s ease .08s;
}

.rf-card__text {
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    line-height: 24px;
    color: #e4e4e7;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.rf-card__text b {
    font-weight: 600;
    color: #fff;
}

.rf-last {
    padding: 0 0 112px;
}

.rf-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 32px;
    border: 1px solid rgba(124, 58, 237, .12);
    border-radius: 32px;
    background: radial-gradient(ellipse 60% 110% at 50% 0%, rgba(124, 58, 237, .16), transparent 70%), #f7f5ff;
    color: #0a0a0b;
    text-align: center;
}

.rf-cta h2 {
    max-width: 640px;
    margin: 0;
    font-size: clamp(30px, 3.6vw, 48px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.rf-cta p {
    max-width: 520px;
    margin: 18px 0 0;
    font-size: 18px;
    line-height: 1.55;
    color: #52525b;
}

@media (max-width: 1024px) {
    .rf-hero {
        padding-top: 148px;
    }

    .rf-title {
        font-size: 44px;
    }

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

@media (max-width: 720px) {
    .rf-hero {
        padding-top: 124px;
    }

    .rf-hero__in {
        padding-bottom: 48px;
    }

    .rf-hero__glow i {
        filter: blur(60px);
    }

    .rf-title {
        font-size: 34px;
    }

    .rf-desc {
        font-size: 16px;
    }

    .rf-hero .rf-acts {
        width: 100%;
    }

    .rf-solid,
    .rf-line {
        flex: 1 1 100%;
    }

    .rf-stats {
        gap: 28px;
        margin-top: 32px;
    }

    .rf-stats dd {
        font-size: 22px;
    }

    .rf-logos {
        padding-bottom: 52px;
    }

    .rf-logos::before,
    .rf-logos::after {
        content: none;
    }

    .rf-logos ul {
        gap: 40px;
        padding: 0 20px;
    }

    .rf-logos__item,
    .rf-logos__item img {
        height: 40px;
    }

    .rf-logos__item img {
        max-width: 124px;
    }

    .rf-logos__item b {
        font-size: 16px;
    }

    .rf-logo {
        font-size: 17px;
    }

    img.rf-logo.is-badge {
        min-width: 56px;
        max-height: 56px;
        padding: 6px 9px;
        border-radius: 14px;
    }

    .rf-last {
        padding-bottom: 72px;
    }

    .rf-cta {
        padding: 52px 20px;
        border-radius: 26px;
    }

    .rf-cta p {
        font-size: 16px;
    }

    .rf-tools {
        margin: 0 -16px 20px;
        padding: 10px 0;
        border-radius: 0;
    }

    .rf-tools .hb-chips {
        padding: 0 16px;
    }

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

    .rf-card .rf-logo {
        top: 38%;
    }

    .rf-card__more {
        display: none;
    }

    .rf-card__body {
        left: 10px;
        right: 10px;
        bottom: 12px;
        gap: 8px;
    }

    .rf-card__text {
        font-size: 13px;
        line-height: 19px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .rf-hero__glow i {
        animation: none;
    }

    .rf-card.is-featured::before {
        background: linear-gradient(135deg, #7c3aed, #f0abfc);
        animation: none;
    }
}
