.neuim-wrap {
    --neuim-ink: #eaf1ff;
    --neuim-ink-dim: #9fb3d1;
    --neuim-bg: #0a1830;

    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    color: var(--neuim-ink);
    font-family: 'Segoe UI', Arial, sans-serif;
}

.neuim-eyebrow {
    letter-spacing: .35em;
    font-size: 12px;
    color: var(--neuim-ink-dim);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.neuim-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 40px;
}

/* ---- Single connected row of all 8, shown at once ---- */
.neuim-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    align-items: start;
    gap: 6px;
}

/* dashed connector thread running through the dots */
.neuim-grid::before {
    content: "";
    position: absolute;
    top: 81px;
    left: 6%;
    right: 6%;
    border-top: 2px dashed rgba(234, 241, 255, 0.25);
    z-index: 0;
}

.neuim-tile {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 4px;
}

.neuim-node {
    position: relative;
    width: 84px;
    height: 90px;
}

.neuim-ring {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border-radius: 50%;
    border: 3px solid;
    background: var(--neuim-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease;
}

.neuim-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neuim-circle svg {
    width: 40px;
    height: 60px;
}

.neuim-dot {
    position: absolute;
    top: 76px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--neuim-bg);
}

.neuim-tile:hover .neuim-ring {
    transform: scale(1.06);
}

.neuim-tile-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .01em;
    line-height: 1.3;
    text-transform: uppercase;
    margin-top: 10px;
}

.neuim-tile-desc {
    font-size: 17px;
    line-height: 1.4;
    color: var(--neuim-ink-dim);
    margin-top: 4px;
}

/* ---- Responsive: fewer columns as space shrinks, wrapping to multiple rows ---- */
@media(max-width: 1100px) {
    .neuim-grid {
        grid-template-columns: repeat(4, 1fr);
        row-gap: 30px;
    }

    .neuim-grid::before {
        display: none;
    }
}

@media(max-width: 600px) {
    .neuim-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .neuim-node {
        width: 70px;
        height: 78px;
    }

    .neuim-ring {
        width: 60px;
        height: 60px;
    }

    .neuim-circle {
        width: 46px;
        height: 46px;
    }

    .neuim-circle svg {
        width: 22px;
        height: 22px;
    }

    .neuim-tile-title {
        font-size: 10.5px;
    }

    .neuim-tile-desc {
        font-size: 10px;
    }
}