.name-search-container{
    width:92%;
    max-width:1320px;
    margin:0 auto;
}

.name-search-hero{
    padding:90px 0 70px;
    background:
        radial-gradient(circle at top left, rgba(128,82,226,.14), transparent 34%),
        linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
}

.name-search-hero-content{
    max-width:960px;
    margin:0 auto;
    text-align:center;
}

.name-search-eyebrow{
    display:inline-block;
    color:#299165;
    font-size:14px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.12em;
    margin-bottom:16px;
}

.name-search-hero h1{
    color:#202331;
    font-size:62px;
    line-height:1.05;
    letter-spacing:-.045em;
    font-weight:900;
    margin-bottom:22px;
}

.name-search-hero p{
    color:#4b5563;
    font-size:20px;
    line-height:1.7;
    max-width:820px;
    margin:0 auto;
}

.name-search-box{
    margin:38px auto 0;
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:22px;
    padding:12px;
    display:grid;
    grid-template-columns:1.3fr .8fr auto;
    gap:12px;
    box-shadow:0 20px 60px rgba(32,35,49,.1);
}

.name-search-box input,
.name-search-box select{
    min-height:58px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:0 16px;
    font-size:16px;
    color:#202331;
    outline:none;
    background:#ffffff;
}

.name-search-box input:focus,
.name-search-box select:focus{
    border-color:#8052e2;
}

.name-search-box button{
    min-height:58px;
    border:0;
    border-radius:14px;
    background:#8052e2;
    color:#ffffff;
    padding:0 28px;
    font-size:16px;
    font-weight:900;
    cursor:pointer;
}

.name-search-content-section{
    padding:90px 0;
    background:#ffffff;
}

.name-search-layout{
    display:grid;
    grid-template-columns:1fr 520px;
    gap:70px;
    align-items:start;
}

.name-search-info h2,
.state-search-header h2,
.name-search-cta-card h2{
    color:#202331;
    font-weight:900;
    letter-spacing:-.035em;
}

.name-search-info h2{
    font-size:44px;
    line-height:1.15;
    margin-bottom:22px;
}

.name-search-info p{
    color:#4b5563;
    font-size:18px;
    line-height:1.8;
    margin-bottom:22px;
}

.name-rules-card{
    margin-top:34px;
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:26px;
    padding:32px;
}

.name-rules-card h3{
    color:#202331;
    font-size:24px;
    margin-bottom:20px;
}

.name-rules-card ol{
    margin:0;
    padding-left:22px;
}

.name-rules-card li{
    color:#374151;
    font-size:17px;
    line-height:1.7;
    margin-bottom:10px;
}

.name-search-note{
    margin-top:28px;
    background:#fff7ed;
    border:1px solid #fed7aa;
    color:#7c2d12;
    border-radius:20px;
    padding:22px;
    font-size:16px;
    line-height:1.7;
}

.state-search-panel{
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:30px;
    padding:28px;
    box-shadow:0 18px 50px rgba(32,35,49,.08);
    position:sticky;
    top:110px;
}

.state-search-header{
    margin-bottom:22px;
}

.state-search-header h2{
    font-size:30px;
    margin-bottom:8px;
}

.state-search-header p{
    color:#6b7280;
    font-size:15px;
    line-height:1.6;
}

.state-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    max-height:760px;
    overflow:auto;
    padding-right:6px;
}

.state-card{
    display:flex;
    align-items:center;
    gap:12px;
    min-height:58px;
    padding:12px 14px;
    border-radius:14px;
    background:#f4f1f7;
    color:#202331;
    text-decoration:none;
    font-size:15px;
    font-weight:800;
    transition:.2s ease;
}

.state-card:hover{
    background:#e9ddff;
    color:#5f35c8;
    transform:translateY(-1px);
}

.state-card span{
    width:34px;
    height:34px;
    border-radius:50%;
    background:#ffffff;
    color:#8052e2;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:900;
    box-shadow:0 4px 12px rgba(32,35,49,.08);
    flex:none;
}

.name-search-cta{
    padding:0 0 90px;
    background:#ffffff;
}

.name-search-cta-card{
    background:#202331;
    color:#ffffff;
    border-radius:34px;
    padding:44px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
}

.name-search-cta-card h2{
    color:#ffffff;
    font-size:42px;
    margin-bottom:12px;
}

.name-search-cta-card p{
    color:#d1d5db;
    font-size:18px;
    line-height:1.6;
}

.name-search-cta-card a{
    min-height:58px;
    padding:0 26px;
    border-radius:16px;
    background:#8052e2;
    color:#ffffff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-weight:900;
    white-space:nowrap;
}

@media(max-width:1050px){
    .name-search-layout{
        grid-template-columns:1fr;
    }

    .state-search-panel{
        position:static;
    }

    .state-grid{
        max-height:none;
    }
}

@media(max-width:760px){
    .name-search-hero{
        padding:60px 0 44px;
    }

    .name-search-hero h1{
        font-size:40px;
    }

    .name-search-hero p{
        font-size:16px;
    }

    .name-search-box{
        grid-template-columns:1fr;
        border-radius:18px;
    }

    .name-search-content-section{
        padding:60px 0;
    }

    .name-search-info h2{
        font-size:32px;
    }

    .name-search-info p,
    .name-rules-card li{
        font-size:16px;
    }

    .state-grid{
        grid-template-columns:1fr;
    }

    .name-search-cta-card{
        flex-direction:column;
        align-items:flex-start;
        padding:30px;
    }

    .name-search-cta-card h2{
        font-size:32px;
    }

    .name-search-cta-card a{
        width:100%;
    }
}
