.nsf-investor-gate-open {
    overflow: hidden;
}

.nsf-investor-gate-change {
    appearance: none;
    border: 1px solid rgba(15, 23, 42, .16);
    background: rgba(255, 255, 255, .75);
    color: #111827;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .08);
    backdrop-filter: blur(12px);
}

.nsf-investor-gate-modal[hidden] {
    display: none !important;
}

.nsf-investor-gate-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.nsf-investor-gate-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255,255,255,.18), rgba(3,7,18,.78));
    backdrop-filter: blur(10px);
}

.nsf-investor-gate-panel {
    position: relative;
    width: min(100%, 560px);
    border-radius: 28px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    color: #111827;
    padding: 34px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
    border: 1px solid rgba(255, 255, 255, .72);
}

.nsf-investor-gate-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 34px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
}

.nsf-investor-gate-panel h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.nsf-investor-gate-intro {
    margin: 0 0 24px;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.65;
}

.nsf-investor-gate-form {
    display: grid;
    gap: 16px;
}

.nsf-investor-gate-form label {
    display: grid;
    gap: 8px;
    font-size: 14px;
    font-weight: 650;
    color: #111827;
}

.nsf-investor-gate-form select {
    width: 100%;
    min-height: 52px;
    border-radius: 16px;
    border: 1px solid #d1d5db;
    background: #fff;
    padding: 0 14px;
    color: #111827;
    font-size: 15px;
    outline: none;
}

.nsf-investor-gate-form select:focus {
    border-color: #111827;
    box-shadow: 0 0 0 4px rgba(17, 24, 39, .08);
}


.nsf-investor-gate-form .nsf-investor-gate-terms {
    display: flex;
    grid-template-columns: none;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    color: #374151;
}

.nsf-investor-gate-terms input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex: 0 0 auto;
}

.nsf-investor-gate-terms a {
    color: #111827;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nsf-investor-gate-notice {
    margin: 4px 0 0;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.55;
}

.nsf-investor-gate-error {
    min-height: 20px;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 600;
}

.nsf-investor-gate-submit {
    appearance: none;
    border: 0;
    border-radius: 18px;
    background: #111827;
    color: #fff;
    min-height: 54px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 18px 38px rgba(17, 24, 39, .22);
}

.nsf-investor-gate-submit:disabled {
    opacity: .55;
    cursor: wait;
}

.nsf-investor-gate-locked {
    padding: 18px 20px;
    border-radius: 18px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #374151;
}

@media (max-width: 640px) {
    .nsf-investor-gate-modal {
        padding: 14px;
        align-items: flex-end;
    }

    .nsf-investor-gate-panel {
        padding: 26px 20px;
        border-radius: 24px;
    }
}

.nsf-available-funds {
    width: 100%;
    margin: 28px 0;
}

.nsf-available-funds-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.nsf-available-funds-head h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.nsf-available-funds-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.nsf-available-funds-col {
    border: 1px solid rgba(17, 24, 39, .10);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(248,250,252,.92));
    padding: 26px;
    box-shadow: 0 22px 55px rgba(15, 23, 42, .08);
}

.nsf-available-funds-col h3 {
    margin: 0 0 18px;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.nsf-available-funds-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.nsf-available-funds-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, .08);
    color: #111827;
    text-decoration: none;
    font-weight: 650;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.nsf-available-funds-list a::after {
    content: '→';
    opacity: .55;
}

.nsf-available-funds-list a:hover,
.nsf-available-funds-list a:focus {
    transform: translateY(-1px);
    border-color: rgba(17, 24, 39, .20);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .10);
}

.nsf-available-funds-empty,
.nsf-available-funds-none {
    margin: 0;
    padding: 18px 20px;
    border-radius: 18px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #374151;
}

@media (max-width: 760px) {
    .nsf-available-funds-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .nsf-available-funds-grid {
        grid-template-columns: 1fr;
    }

    .nsf-available-funds-col {
        padding: 20px;
        border-radius: 22px;
    }
}
