html.dark .how-pop-header {
    background: #243044;
    border-bottom-color: rgba(255, 255, 255, .08)
}

html.dark .how-pop-step {
    border-bottom-color: rgba(255, 255, 255, .06)
}

html.dark .how-pop-footer {
    background: #243044;
    border-top-color: rgba(255, 255, 255, .08)
}

html.dark .how-pop-num {
    background: #2d3f55;
    color: var(--blue-light)
}

.how-pop-header {
    padding: 14px 16px 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 0
}

.how-pop-header-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--blue-pale);
    color: var(--blue);
    font-size: 13px;
    display: grid;
    place-items: center;
    flex-shrink: 0
}

.how-pop-header h4 {
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text);
    margin: 0;
    line-height: 1.2
}

.how-pop-header p {
    font-size: 11px;
    color: var(--text-muted);
    margin: 2px 0 0
}

.how-pop-steps {
    padding: 10px 16px 8px;
    display: flex;
    flex-direction: column
}

.how-pop-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    position: relative
}

.how-pop-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 33px;
    right: 14px;
    width: 2px;
    height: calc(100% - 14px);
    background: linear-gradient(to bottom, var(--blue-200), transparent)
}

.how-pop-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--blue-50);
    border: 1.5px solid var(--blue-200);
    color: var(--blue);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 800;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 1;
    transition: background .15s, border-color .15s, color .15s
}

.how-pop-step:hover .how-pop-num {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff
}

.how-pop-step-body {
    flex: 1;
    padding-top: 3px
}

.how-pop-step-body strong {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--text);
    display: block;
    margin-bottom: 1px
}

.how-pop-step-body span {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.5
}

.how-pop-footer {
    padding: 10px 16px 14px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 8px;
    align-items: center;
    border-radius: 0
}

.how-pop-cta {
    flex: 1;
    padding: 9px 14px;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
    font-size: 12.5px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background .15s, transform .15s;
    text-decoration: none
}

.how-pop-cta:hover {
    background: var(--blue-mid);
    transform: translateY(-1px)
}

.how-pop-secondary {
    padding: 9px 12px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: none;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-body);
    white-space: nowrap;
    transition: border-color .15s, color .15s;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px
}

.how-pop-secondary:hover {
    border-color: var(--blue-light);
    color: var(--blue)
}