@font-face {
    font-family: 'Manrope';
    src: url('../../assets/fonts/manrope-latin.woff2') format('woff2');
    font-display: swap;
}

.pool-section-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0 0 1.25rem;
    overflow: hidden;
    border: 1px solid #d8d4ca;
    border-radius: 14px;
    background: #d8d4ca;
    box-shadow: 0 8px 24px rgba(32, 32, 29, 0.04);
    font-family: 'Manrope', sans-serif;
}

.pool-section-nav__step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    min-height: 74px;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    color: #68665f;
    background: #fffdf8;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.pool-section-nav__step:hover,
.pool-section-nav__step:focus-visible {
    color: #20201d;
    background: #f8f5ee;
}

.pool-section-nav__step[aria-current='step'] {
    color: #fff;
    background: #17324a;
}

.pool-section-nav__number {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    opacity: 0.72;
}

.pool-section-nav__copy {
    display: grid;
    min-width: 0;
    gap: 0.08rem;
}

.pool-section-nav__copy strong {
    color: inherit !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 0.77rem;
    font-weight: 900;
    letter-spacing: 0.08em !important;
    line-height: 1.25;
    text-transform: uppercase;
}

.pool-section-nav__copy small {
    overflow: hidden;
    font-size: 0.68rem;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pool-model-handoff {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 1rem;
    padding: 1rem 1.1rem;
    color: #17324a;
    border: 1px solid rgba(35, 98, 70, 0.3);
    border-left: 5px solid #236246;
    border-radius: 12px;
    background: #f4faf6;
    box-shadow: 0 8px 24px rgba(32, 32, 29, 0.04);
}

.pool-model-handoff[data-state='warning'] {
    color: #6f5120;
    border-color: rgba(184, 137, 63, 0.35);
    border-left-color: #b8893f;
    background: #fff9eb;
}

.pool-model-handoff__copy {
    display: grid;
    gap: 0.2rem;
}

.pool-model-handoff__copy strong {
    color: inherit !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 0.82rem;
    letter-spacing: 0 !important;
}

.pool-model-handoff__copy span {
    color: #68665f;
    font-size: 0.76rem;
    line-height: 1.45;
}

.pool-model-handoff button {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0.45rem 0.75rem;
    color: inherit;
    border: 1px solid currentColor;
    border-radius: 8px;
    background: transparent;
    font: inherit;
    font-size: 0.7rem;
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 700px) {
    .pool-section-nav {
        grid-template-columns: 1fr;
    }

    .pool-section-nav__step {
        min-height: 58px;
        padding: 0.65rem 0.8rem;
    }

    .pool-section-nav__copy small {
        white-space: normal;
    }

    .pool-model-handoff {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pool-section-nav__step {
        transition: none;
    }
}
