.form-grid {
    display: grid;
    /* grid-template-columns: repeat(2, 1fr); */
    gap: 18px
}
.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px
}
.form-row {
    margin-bottom: 20px
}

.field-label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
    font-weight: 900;
    font-size: 14px
}

.hint {
    color: #94a3b8;
    font-size: 12px
}

.input,
.textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: white;
    border-radius: 18px;
    padding: 14px 16px;
    font-size: 14px;
    outline: none;
    transition: .2s
}

.textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.7
}

.input:focus,
.textarea:focus {
    border-color: #22d3ee;
    box-shadow: 0 0 0 4px rgba(34, 211, 238, .16)
}

.verification-row {
    display: flex;
    gap: 10px;
    align-items: center
}

.verification-row .input {
    flex: 1;
    min-width: 0
}

.verification-btn {
    flex: 0 0 auto;
    white-space: nowrap
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px
}

.choice-grid.one {
    grid-template-columns: 1fr
}

.gender-choice {
    max-width: 320px;
}

.choice-grid.four {
    grid-template-columns: repeat(4, 1fr)
}

.pill {
    border: 1px solid var(--line);
    background: white;
    color: #475569;
    border-radius: 18px;
    padding: 12px 14px;
    text-align: left;
    line-height: 1.45;
    font-size: 14px;
    transition: .18s
}

.pill.active,
.pill:hover {
    border-color: #22d3ee;
    background: #ecfeff;
    color: #0f172a;
    box-shadow: 0 10px 25px rgba(6, 182, 212, .08)
}

.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.chip {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 14px;
    background: white;
    color: #475569;
    font-size: 14px;
    cursor: pointer;
    transition: .18s;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    margin: 0
}

.chip.active {
    border-color: #06b6d4;
    background: linear-gradient(135deg, #0ea5e9, #22d3ee);
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(14, 165, 233, .22), 0 8px 18px rgba(34, 211, 238, .16);
    transform: translateY(-1px)
}

.chip.active:hover {
    border-color: #0891b2;
    color: #ffffff;
    background: linear-gradient(135deg, #0284c7, #06b6d4)
}

.chip:focus-within {
    box-shadow: 0 0 0 4px rgba(34, 211, 238, .16)
}

.checkbox-line {
    display: flex;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--line);
    background: white;
    border-radius: 18px;
    padding: 14px;
    font-weight: 800;
    font-size: 14px
}

.checkbox-line input {
    width: 19px;
    height: 19px;
    accent-color: #06b6d4
}

.register-grid {
    display: grid;
    /* grid-template-columns: .95fr 1.05fr; */
    gap: 28px;
    align-items: start
}

.lead-box {
    background: #020617;
    color: white
}

.lead-box p {
    color: #cbd5e1;
    line-height: 1.75
}

.lead-box .field-label {
    color: white
}

.lead-box .hint {
    color: #a5f3fc
}

.lead-box .pill {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .13);
    color: #e2e8f0
}

.lead-box .pill.active {
    background: rgba(103, 232, 249, .13);
    border-color: #67e8f9;
    color: white
}

.lead-box .input,
.lead-box .textarea {
    background: white;
    color: #0f172a
}

.profile-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px
}

.sidebar {
    position: sticky;
    top: 100px;
    align-self: start
}

.step-btn {
    width: 100%;
    display: flex;
    gap: 12px;
    align-items: center;
    border: 0;
    background: transparent;
    border-radius: 18px;
    padding: 12px;
    text-align: left
}

.step-btn:hover,
.step-btn.active {
    background: linear-gradient(90deg, #ecfeff, #f0fdfa)
}

.step-no {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    flex: none
}

.step-btn.active .step-no {
    background: linear-gradient(90deg, #0ea5e9, #2dd4bf);
    color: white
}

.step-title {
    font-weight: 950
}

.step-sub {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 3px
}

.step-panel {
    display: none
}

.step-panel.active {
    display: block
}

.step-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 24px;
    margin-bottom: 28px
}

.step-head h1 {
    font-size: 32px;
    margin: 7px 0 6px;
    letter-spacing: -.04em
}

.progress {
    height: 12px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 14px
}

.progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #38bdf8, #67e8f9, #2dd4bf);
    border-radius: 999px;
    transition: .35s
}

.step-foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #f1f5f9;
    margin-top: 28px;
    padding-top: 22px
}

.final-account {
    border: 1px solid #a5f3fc;
    background: linear-gradient(135deg, #ecfeff, #ccfbf1);
    border-radius: 28px;
    padding: 22px
}

.advanced-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px
}

.deep-question {
    border: 1px solid var(--line);
    background: white;
    border-radius: 20px;
    padding: 16px
}

.deep-question h3 {
    margin: 0 0 12px;
    font-size: 14px
}

.module-heading {
    grid-column: 1/-1;
    margin: 18px 0 0
}

.module-heading h2 {
    font-size: 24px;
    margin: 0
}

.module-heading p {
    color: #64748b;
    line-height: 1.7
}

.result-box {
    background: #020617;
    color: white;
    border-radius: 28px;
    padding: 24px
}

.result-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px
}

.result-tags span {
    background: rgba(255, 255, 255, .1);
    border-radius: 999px;
    padding: 9px 14px;
    color: #ecfeff;
    font-weight: 900;
    font-size: 13px
}

@media(max-width:980px) {

    .form-grid,
    .register-grid,
    .profile-layout,
    .advanced-grid {
        grid-template-columns: 1fr
    }

    .sidebar {
        position: static
    }

    .choice-grid.four {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:620px) {
    .choice-grid {
        grid-template-columns: 1fr
    }

    .step-foot {
        flex-direction: column-reverse
    }
}

.dark-card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.dark-card--fixed {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 320px;
    max-width: calc(100vw - 48px);
    z-index: 1000;
    border-radius: 20px;
    padding: 20px;
    background: #020617;
    color: white;
    box-shadow: 
        0 20px 50px rgba(15, 23, 42, .25),
        inset 0 0 60px rgba(34, 211, 238, .08),
        inset 0 0 60px rgba(45, 212, 191, .06);
    transform: scale(0.85);
    transform-origin: right bottom;
    transition: transform .3s ease, opacity .3s ease;
}

@media(max-width: 768px) {
    .dark-card--fixed {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        max-width: none;
        transform: scale(0.9);
    }
}