.home-site {
    min-height: 100vh;
    height: auto;
    overflow: clip;
}

.home-site .home-hero {
    grid-template-rows: auto minmax(0, 1fr);
    min-height: calc(100svh - 76px);
    height: auto;
    overflow: hidden;
    background: var(--color-background-page);
}

.home-site .home-hero::after {
    background: rgb(var(--color-surface-rgb) / 0.08);
}

.home-site .site-nav {
    width: min(1180px, calc(100% - 44px));
    min-height: 78px;
    padding: 16px 0;
    border-bottom: 1px solid rgb(var(--color-text-primary-rgb) / 0.1);
}

.home-site .brand-wordmark {
    width: 120px;
}

.home-site .nav-links {
    gap: 22px;
    font-size: 0.86rem;
    font-weight: 750;
}

.home-site .nav-links a {
    position: relative;
    padding: 8px 0;
    color: rgb(var(--color-text-primary-rgb) / 0.68);
}

.home-site .nav-links a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 1px;
    background: var(--color-accent-primary);
    opacity: 0;
    transform: scaleX(0.5);
    transition: opacity 140ms ease, transform 140ms ease;
}

.home-site .nav-links a:hover,
.home-site .nav-links a:focus-visible {
    color: var(--color-text);
}

.home-site .nav-links a:hover::after,
.home-site .nav-links a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.home-site .hero-content {
    align-self: stretch;
    width: min(1180px, calc(100% - 44px));
    padding: 22px 0 30px;
}

.home-site .product-hero-content {
    display: grid;
    place-items: stretch;
    align-content: center;
    gap: 20px;
}

.home-intro {
    display: grid;
    grid-template-columns: 1fr;
    align-items: end;
}

.home-eyebrow {
    margin: 0 0 8px;
    color: var(--color-accent-primary-strong);
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-intro h1 {
    max-width: 720px;
    margin: 0;
    font-size: 3rem;
    line-height: 1.02;
    letter-spacing: 0;
}

.home-site .hero-variant {
    width: 100%;
    min-height: 0;
}

.home-site .constellation-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    place-items: stretch;
}

.home-site .constellation-hero.is-single-product {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 760px);
    margin: 0 auto;
}

.home-product-card {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-width: 0;
    min-height: 420px;
    overflow: hidden;
    border: 1px solid rgb(var(--color-text-primary-rgb) / 0.13);
    border-radius: 8px;
    background: rgb(var(--color-surface-rgb) / 0.68);
    box-shadow: 0 18px 54px rgb(var(--color-text-primary-rgb) / 0.065);
    backdrop-filter: blur(10px);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.home-product-card:hover {
    border-color: rgb(var(--color-accent-primary-rgb) / 0.34);
    box-shadow: 0 24px 64px rgb(var(--color-text-primary-rgb) / 0.1);
}

.home-site .matchday-product-visual {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 0;
    padding: 10px 18px;
}

.home-site .matchday-product-visual img {
    width: 100%;
    max-width: 520px;
    max-height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 22px 24px rgb(var(--color-text-primary-rgb) / 0.17));
}

.home-site .home-product-card:hover .matchday-product-visual {
    transform: translateY(-4px) rotate(-0.2deg);
}

.home-site .insight-product-visual {
    min-height: 0;
    overflow: hidden;
}

.home-site .product-core {
    width: 190px;
    padding: 34px 22px;
    box-shadow: 0 20px 58px rgb(var(--color-text-primary-rgb) / 0.1), inset 0 0 30px rgb(var(--color-surface-rgb) / 0.72);
}

.home-site .product-core::before {
    inset: 20px;
}

.home-site .product-core strong {
    font-size: 2.45rem;
}

.home-site .product-core span {
    font-size: 0.64rem;
}

.home-site .constellation-ring {
    inset: 10%;
}

.home-site .constellation-node {
    min-width: 74px;
    min-height: 31px;
    padding: 0 9px;
    font-size: 0.65rem;
    letter-spacing: 0;
    box-shadow: 0 9px 24px rgb(var(--color-text-primary-rgb) / 0.075);
}

.home-site .node-knowledge,
.home-site .node-graph {
    min-width: 112px;
}

.home-product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 82px;
    padding: 14px 18px;
    border-top: 1px solid rgb(var(--color-text-primary-rgb) / 0.09);
    background: rgb(var(--color-surface-rgb) / 0.78);
    color: var(--color-text);
    text-decoration: none;
}

.home-product-card-footer > span:first-child {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.home-product-card-footer strong {
    font-size: 1.08rem;
    line-height: 1.2;
}

.home-product-card-footer small {
    color: rgb(var(--color-text-primary-rgb) / 0.62);
    font-size: 0.78rem;
    line-height: 1.35;
}

.home-product-arrow {
    display: grid;
    flex: 0 0 34px;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgb(var(--color-text-primary-rgb) / 0.13);
    border-radius: 50%;
    color: rgb(var(--color-text-primary-rgb) / 0.56);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.home-product-card:hover .home-product-arrow {
    transform: translateX(3px);
    border-color: var(--color-accent-primary);
    background: var(--color-accent-primary);
    color: var(--color-surface);
}

.home-product-card-footer:focus-visible,
.home-site .matchday-product-visual:focus-visible,
.home-site .product-core:focus-visible {
    outline: 3px solid rgb(var(--color-accent-primary-rgb) / 0.3);
    outline-offset: -3px;
}

.home-page-footer {
    display: flex;
}

.home-site.is-home-entering .home-intro,
.home-site.is-home-entering .home-product-card {
    animation: home-content-enter 540ms cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

.home-site.is-home-entering .home-product-card:nth-child(2) {
    animation-delay: 70ms;
}

.home-site.is-product-exiting .home-intro,
.home-site.is-product-exiting .home-product-card-footer {
    opacity: 0;
    transition: opacity 180ms ease;
}

@keyframes home-content-enter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .home-intro {
        grid-template-columns: 1fr;
    }

    .home-site .constellation-hero {
        grid-template-columns: 1fr;
    }

    .home-product-card {
        min-height: 430px;
    }
}

@media (max-width: 680px) {
    .home-site {
        height: auto;
    }

    .home-site .home-hero {
        min-height: 100svh;
        height: auto;
        overflow: hidden;
    }

    .home-site .site-nav {
        align-items: center;
        flex-direction: row;
        width: calc(100% - 28px);
        min-height: 68px;
        padding: 12px 0;
    }

    .home-site .brand-wordmark {
        width: 94px;
    }

    .home-site .nav-links {
        width: auto;
        justify-content: flex-end;
        gap: 13px;
        font-size: 0.72rem;
    }

    .home-site .hero-content {
        width: calc(100% - 28px);
        padding: 24px 0 32px;
    }

    .home-site .product-hero-content {
        gap: 18px;
    }

    .home-intro h1 {
        font-size: 2.2rem;
        line-height: 1.04;
    }

    .home-site .hero-variant {
        width: 100%;
    }

    .home-site .constellation-hero {
        gap: 14px;
    }

    .home-product-card {
        min-height: 0;
    }

    .home-site .matchday-product-visual {
        min-height: 250px;
        padding: 14px;
    }

    .home-site .matchday-product-visual img {
        max-height: 250px;
    }

    .home-site .insight-product-visual {
        min-height: 390px;
    }

    .home-site .product-core {
        width: 176px;
    }

    .home-product-card-footer {
        min-height: 78px;
        padding-inline: 15px;
    }

    .home-product-card-footer small {
        max-width: 245px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-site.is-home-entering .home-intro,
    .home-site.is-home-entering .home-product-card {
        animation: none;
    }

    .home-product-card,
    .home-product-arrow,
    .home-site .nav-links a::after {
        transition: none;
    }
}
