:root {
    --motion-reveal-distance: 22px;
    --motion-duration-fast: 360ms;
    --motion-duration-base: 620ms;
    --motion-duration-slow: 820ms;
    --motion-stagger: 90ms;
}

[data-reveal] {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    html.motion-ready [data-reveal] {
        opacity: 0;
        transform: translate3d(0, var(--motion-reveal-distance), 0);
        transition:
            opacity var(--motion-duration-base) var(--ease-out) var(--reveal-delay, 0ms),
            transform var(--motion-duration-base) var(--ease-out) var(--reveal-delay, 0ms);
        will-change: opacity, transform;
    }

    html.motion-ready [data-reveal].is-visible {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        will-change: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.motion-ready [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

.proof-strip {
    position: relative;
    padding: 26px 0;
    background:
        radial-gradient(420px 240px at 14% 20%, rgba(251, 108, 37, 0.12), transparent 64%),
        linear-gradient(135deg, rgba(11, 13, 23, 0.96), rgba(24, 25, 31, 0.92));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    overflow: hidden;
}

.proof-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 34%, rgba(251, 162, 37, 0.08)),
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: auto, 100% 22px;
    pointer-events: none;
}

.proof-strip .container {
    position: relative;
    z-index: 1;
}

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

.proof-strip__item {
    min-height: 96px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 18px 38px -30px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.proof-strip__value {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    min-height: 38px;
    color: #ffffff;
    font-size: clamp(24px, 2.2vw, 36px);
    font-weight: 800;
    line-height: 1.05;
}

.proof-strip__label {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}

.index-page #partners-section .partners-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.index-page #partners-section .alliance-card.partner-card {
    animation: none;
    animation-play-state: paused;
    min-height: 310px;
}

.index-page #partners-section .alliance-card .partner-copy {
    margin-bottom: 0;
}

.index-page #partners-section .alliance-card--anthropic .partner-logo img {
    padding: 12px;
}

.index-page #partners-section .alliance-card__name {
    margin-top: auto;
}

.cert-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin-top: auto;
    padding: 7px 14px;
    border: 1px solid rgba(251, 108, 37, 0.42);
    border-radius: 999px;
    background: rgba(251, 108, 37, 0.08);
    color: #9f2609;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out), background 0.25s ease;
}

.cert-link:hover,
.cert-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(251, 108, 37, 0.68);
    background: rgba(251, 108, 37, 0.15);
}

.index-page #partners-section .cert-link span {
    color: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

:root[data-theme='dark'] .cert-link {
    color: #ffd7c2;
    border-color: rgba(251, 162, 37, 0.42);
    background: rgba(251, 162, 37, 0.1);
}

@media (max-width: 1199px) {
    .index-page #partners-section .partners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .proof-strip {
        padding: 22px 0;
    }

    .proof-strip__grid,
    .index-page #partners-section .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .proof-strip__item {
        min-height: 92px;
        padding: 14px 12px;
    }
}

@media (max-width: 575px) {
    body.index-page .hero-landing {
        overflow-x: clip;
    }

    body.index-page .hero-container {
        width: 100%;
        max-width: 100%;
        padding-inline: 12px;
    }

    body.index-page .hero-title {
        max-width: 300px;
        margin-inline: auto;
        font-size: clamp(23px, 6.6vw, 27px);
        line-height: 1.12;
        overflow-wrap: anywhere;
    }

    html[lang='zh-Hans'] body.index-page .hero-title {
        max-width: 270px;
        word-break: break-all;
    }

    body.index-page .hero-subtitle {
        max-width: 300px;
        margin-inline: auto;
        font-size: 15px;
        line-height: 1.6;
        overflow-wrap: break-word;
    }

    body.index-page .hero-cta {
        width: 100%;
        flex-wrap: wrap;
        gap: 12px !important;
    }

    body.index-page .hero-cta .button-gradient,
    body.index-page .hero-cta .btn-outline-light {
        width: min(100%, 268px);
        justify-content: center;
        text-align: center;
    }

    body.index-page .hero-benefits {
        width: 100%;
        max-width: 300px;
        margin-inline: auto;
        grid-template-columns: 1fr;
        padding-left: 0;
    }

    body.index-page .hero-benefits li {
        width: 100%;
    }

    .proof-strip__grid,
    .index-page #partners-section .partners-grid {
        grid-template-columns: 1fr;
    }

    .index-page #partners-section .alliance-card.partner-card {
        min-height: 280px;
    }
}
