/* =========================================================
   AI / GEO citation blocks — homepage entity + FAQ
   ========================================================= */

.nx-entity {
    position: relative;
    background: var(--nx-bg, #07080A);
    color: var(--nx-text, #F5F7FA);
    padding: clamp(3.5rem, 8vh, 5.5rem) 0;
    border-bottom: 1px solid var(--nx-border, rgba(255, 255, 255, 0.08));
}

.nx-entity__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.nx-entity__eyebrow {
    margin: 0 0 0.85rem;
}

.nx-entity__title {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

.nx-entity__answer {
    margin: 0 0 1.25rem;
    max-width: 40rem;
    font-size: clamp(1.02rem, 1.2vw, 1.125rem);
    line-height: 1.7;
    color: var(--nx-text-muted, #9299A5);
}

.nx-entity__answer strong {
    color: var(--nx-text, #F5F7FA);
    font-weight: 600;
}

.nx-entity__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 1.5rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

.nx-entity__facts li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--nx-border, rgba(255, 255, 255, 0.08));
}

.nx-entity__facts dt,
.nx-entity__facts span:first-child {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(146, 153, 165, 0.8);
}

.nx-entity__facts dd,
.nx-entity__facts span:last-child {
    margin: 0;
    font-size: 0.95rem;
    color: var(--nx-text, #F5F7FA);
}

.nx-entity__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--nx-accent, #4F7CFF);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.nx-entity__cta:hover {
    color: var(--nx-accent-hover, #6B8FFF);
}

.nx-entity__panel {
    margin: 0;
    padding: 1.5rem 1.6rem;
    border-radius: 16px;
    background: var(--nx-surface, #0D0F12);
    border: 1px solid var(--nx-border, rgba(255, 255, 255, 0.08));
}

.nx-entity__panel h3 {
    margin: 0 0 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(146, 153, 165, 0.85);
}

.nx-entity__panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.nx-entity__panel li {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--nx-text-muted, #9299A5);
}

.nx-entity__panel li strong {
    display: block;
    color: var(--nx-text, #F5F7FA);
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.nx-home-faq {
    position: relative;
    background: var(--nx-bg, #07080A);
    color: var(--nx-text, #F5F7FA);
    padding: clamp(4.5rem, 10vh, 7rem) 0;
    border-top: 1px solid var(--nx-border, rgba(255, 255, 255, 0.08));
}

.nx-home-faq__header {
    max-width: 40rem;
    margin-bottom: clamp(2rem, 5vh, 3rem);
}

.nx-home-faq__title {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.nx-home-faq__lede {
    margin: 0;
    color: var(--nx-text-muted, #9299A5);
    font-size: 1.05rem;
    line-height: 1.65;
}

.nx-home-faq__list {
    max-width: 52rem;
    border-top: 1px solid var(--nx-border, rgba(255, 255, 255, 0.08));
}

.nx-home-faq__item {
    border-bottom: 1px solid var(--nx-border, rgba(255, 255, 255, 0.08));
}

.nx-home-faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.15rem 0;
    background: none;
    border: 0;
    color: inherit;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
}

.nx-home-faq__q:hover {
    color: #fff;
}

.nx-home-faq__icon {
    position: relative;
    flex: 0 0 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
}

.nx-home-faq__icon::before,
.nx-home-faq__icon::after {
    content: "";
    position: absolute;
    background: var(--nx-accent, #4F7CFF);
    border-radius: 1px;
}

.nx-home-faq__icon::before {
    left: 0;
    right: 0;
    top: 50%;
    height: 1.5px;
    transform: translateY(-50%);
}

.nx-home-faq__icon::after {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1.5px;
    transform: translateX(-50%);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nx-home-faq__item.is-open .nx-home-faq__icon::after {
    opacity: 0;
    transform: translateX(-50%) rotate(90deg);
}

.nx-home-faq__a {
    padding: 0 2.5rem 1.25rem 0;
}

.nx-home-faq__a p {
    margin: 0;
    color: var(--nx-text-muted, #9299A5);
    font-size: 0.98rem;
    line-height: 1.7;
}

.nx-home-faq__a a {
    color: var(--nx-accent, #4F7CFF);
}

@media (max-width: 860px) {
    .nx-entity__inner {
        grid-template-columns: 1fr;
    }

    .nx-entity__facts {
        grid-template-columns: 1fr;
    }
}
